mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03:00
Change authmode default to Required on client
This commit is contained in:
@ -5195,7 +5195,10 @@ void ssl_set_endpoint( ssl_context *ssl, int endpoint )
|
||||
#if defined(POLARSSL_SSL_SESSION_TICKETS) && \
|
||||
defined(POLARSSL_SSL_CLI_C)
|
||||
if( endpoint == SSL_IS_CLIENT )
|
||||
{
|
||||
ssl->session_tickets = SSL_SESSION_TICKETS_ENABLED;
|
||||
ssl->authmode = SSL_VERIFY_REQUIRED;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(POLARSSL_SSL_TRUNCATED_HMAC)
|
||||
|
Reference in New Issue
Block a user