Fix typo in SSL ticket documentation

This commit is contained in:
Hanno Becker 2019-02-26 11:44:20 +00:00
parent fe4ef0c1ae
commit 6883874013

View file

@ -195,7 +195,7 @@ int mbedtls_ssl_ticket_setup( mbedtls_ssl_ticket_context *ctx,
* *
* - If MBEDTLS_SSL_KEEP_PEER_CERTIFICATE is disabled: * - If MBEDTLS_SSL_KEEP_PEER_CERTIFICATE is disabled:
* 0 . n-1 session structure, n = sizeof(mbedtls_ssl_session) * 0 . n-1 session structure, n = sizeof(mbedtls_ssl_session)
* n . n length of peer certificate digest = k (0 if n digest) * n . n length of peer certificate digest = k (0 if no digest)
* n+1 . n+k peer certificate digest (digest type encoded in session) * n+1 . n+k peer certificate digest (digest type encoded in session)
*/ */
static int ssl_save_session( const mbedtls_ssl_session *session, static int ssl_save_session( const mbedtls_ssl_session *session,