Don't accept CertificateRequest with PSK suites

This commit is contained in:
Manuel Pégourié-Gonnard 2013-11-25 17:38:36 +01:00 committed by Paul Bakker
parent dc953e8c41
commit da1ff38715
2 changed files with 42 additions and 1 deletions
library

View file

@ -1933,7 +1933,8 @@ static int ssl_write_certificate_request( ssl_context *ssl )
}
#endif /* !POLARSSL_KEY_EXCHANGE_RSA_ENABLED &&
!POLARSSL_KEY_EXCHANGE_DHE_RSA_ENABLED &&
!POLARSSL_KEY_EXCHANGE_ECDHE_RSA_ENABLED */
!POLARSSL_KEY_EXCHANGE_ECDHE_RSA_ENABLED &&
!POLARSSL_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED */
static int ssl_write_server_key_exchange( ssl_context *ssl )
{