fix various issues
- improve document about configuration item. - format issue - variable type issue. Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
b7e3fa7fbd
commit
f3bdf9dd51
3 changed files with 4 additions and 3 deletions
|
@ -1581,7 +1581,9 @@
|
||||||
/**
|
/**
|
||||||
* \def MBEDTLS_SSL_TLS1_3_DEFAULT_NEW_SESSION_TICKETS
|
* \def MBEDTLS_SSL_TLS1_3_DEFAULT_NEW_SESSION_TICKETS
|
||||||
*
|
*
|
||||||
* Default number of NewSessionTicket. This is not used in TLS 1.2.
|
* Default number of NewSessionTicket messages to be sent by a TLS 1.3 server
|
||||||
|
* after handshake completion. This is not used in TLS 1.2 and relevant only if
|
||||||
|
* the MBEDTLS_SSL_SESSION_TICKETS option is enabled.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#define MBEDTLS_SSL_TLS1_3_DEFAULT_NEW_SESSION_TICKETS 1
|
#define MBEDTLS_SSL_TLS1_3_DEFAULT_NEW_SESSION_TICKETS 1
|
||||||
|
|
|
@ -625,7 +625,7 @@ struct mbedtls_ssl_handshake_params
|
||||||
uint8_t tls13_kex_modes; /*!< Key exchange modes supported by the client */
|
uint8_t tls13_kex_modes; /*!< Key exchange modes supported by the client */
|
||||||
#endif
|
#endif
|
||||||
#if defined(MBEDTLS_SSL_SESSION_TICKETS)
|
#if defined(MBEDTLS_SSL_SESSION_TICKETS)
|
||||||
int new_session_tickets_count; /*!< number of session tickets */
|
uint16_t new_session_tickets_count; /*!< number of session tickets */
|
||||||
#endif
|
#endif
|
||||||
#endif /* MBEDTLS_SSL_SRV_C */
|
#endif /* MBEDTLS_SSL_SRV_C */
|
||||||
|
|
||||||
|
|
|
@ -674,7 +674,6 @@ static void ssl_handshake_params_init( mbedtls_ssl_handshake_params *handshake )
|
||||||
!defined(MBEDTLS_SSL_KEEP_PEER_CERTIFICATE)
|
!defined(MBEDTLS_SSL_KEEP_PEER_CERTIFICATE)
|
||||||
mbedtls_pk_init( &handshake->peer_pubkey );
|
mbedtls_pk_init( &handshake->peer_pubkey );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void mbedtls_ssl_transform_init( mbedtls_ssl_transform *transform )
|
void mbedtls_ssl_transform_init( mbedtls_ssl_transform *transform )
|
||||||
|
|
Loading…
Reference in a new issue