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:
parent
a4a473516e
commit
69f17280d3
3 changed files with 65 additions and 59 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue