Change authmode default to Required on client
This commit is contained in:
parent
606df8c199
commit
fa44f20b9f
6 changed files with 33 additions and 26 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue