commit | fa44f20b9fd9fdffb55fa365a28ff15c34ca22cd | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Fri Mar 27 17:52:25 2015 +0100 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Fri Mar 27 17:52:25 2015 +0100 |
tree | a8866e444295f44a18a6edba95ffc752a370e86b | |
parent | 606df8c1996b66407c5a899b5dca419491e9db97 [diff] |
Change authmode default to Required on client
diff --git a/library/ssl_tls.c b/library/ssl_tls.c index 25f3a02..e877315 100644 --- a/library/ssl_tls.c +++ b/library/ssl_tls.c
@@ -5195,7 +5195,10 @@ #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)