mirror of
				https://github.com/Mbed-TLS/mbedtls.git
				synced 2025-11-03 20:33:16 +03:00 
			
		
		
		
	Adapt prototypes of ticket handling functions
This is an intermediate step. The ssl_config argument will be replace by a ticket context next.
This commit is contained in:
		@@ -31,12 +31,17 @@ extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Temporary, WIP */
 | 
			
		||||
int mbedtls_ssl_ticket_write( mbedtls_ssl_context *ssl, size_t *tlen );
 | 
			
		||||
int mbedtls_ssl_ticket_write( const mbedtls_ssl_config *conf,
 | 
			
		||||
                              const mbedtls_ssl_session *session,
 | 
			
		||||
                              unsigned char *start,
 | 
			
		||||
                              const unsigned char *end,
 | 
			
		||||
                              size_t *tlen );
 | 
			
		||||
 | 
			
		||||
/* Temporary, WIP */
 | 
			
		||||
int mbedtls_ssl_ticket_parse( mbedtls_ssl_context *ssl,
 | 
			
		||||
                             unsigned char *buf,
 | 
			
		||||
                             size_t len );
 | 
			
		||||
int mbedtls_ssl_ticket_parse( const mbedtls_ssl_config *conf,
 | 
			
		||||
                              mbedtls_ssl_session *session,
 | 
			
		||||
                              unsigned char *buf,
 | 
			
		||||
                              size_t len );
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user