mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-03-10 21:36:28 +00: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