mirror of
https://github.com/cuberite/polarssl.git
synced 2025-10-03 10:34:16 -04:00
move wrong comments
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
18621dfd23
commit
f1b23caa4e
@ -2601,6 +2601,12 @@ int mbedtls_ssl_session_save( const mbedtls_ssl_session *session,
|
|||||||
return( ssl_session_save( session, 0, buf, buf_len, olen ) );
|
return( ssl_session_save( session, 0, buf, buf_len, olen ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Deserialize session, see mbedtls_ssl_session_save() for format.
|
||||||
|
*
|
||||||
|
* This internal version is wrapped by a public function that cleans up in
|
||||||
|
* case of error, and has an extra option omit_header.
|
||||||
|
*/
|
||||||
static int ssl_session_load( mbedtls_ssl_session *session,
|
static int ssl_session_load( mbedtls_ssl_session *session,
|
||||||
unsigned char omit_header,
|
unsigned char omit_header,
|
||||||
const unsigned char *buf,
|
const unsigned char *buf,
|
||||||
@ -7727,12 +7733,6 @@ static size_t ssl_session_save_tls12( const mbedtls_ssl_session *session,
|
|||||||
return( used );
|
return( used );
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* Deserialize session, see mbedtls_ssl_session_save() for format.
|
|
||||||
*
|
|
||||||
* This internal version is wrapped by a public function that cleans up in
|
|
||||||
* case of error, and has an extra option omit_header.
|
|
||||||
*/
|
|
||||||
static int ssl_session_load_tls12( mbedtls_ssl_session *session,
|
static int ssl_session_load_tls12( mbedtls_ssl_session *session,
|
||||||
const unsigned char *buf,
|
const unsigned char *buf,
|
||||||
size_t len )
|
size_t len )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user