1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-28 00:21:48 +03:00

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

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 )
{