Skip to content

Commit

Permalink
merge to cert_usage
Browse files Browse the repository at this point in the history
Change-Id: I8a2683cb5ab38a2e831048cb6a53f3b3db123cec
CustomizedGitHooks: yes
  • Loading branch information
yuhaoth committed Jul 25, 2021
1 parent e36b7e9 commit bbd0e19
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions library/ssl_tls.c
Original file line number Diff line number Diff line change
Expand Up @@ -8667,11 +8667,7 @@ int mbedtls_ssl_check_cert_usage( const mbedtls_x509_crt* cert,
if( cert_endpoint == MBEDTLS_SSL_IS_SERVER )
{
/* Server part of the key exchange */
#if defined(MBEDTLS_SSL_PROTO_TLS1_2_OR_EARLIER)
switch( ciphersuite->key_exchange )
#else /* defined(MBEDTLS_SSL_PROTO_TLS1_2_OR_EARLIER) */
switch( key_exchange )
#endif /* !defined(MBEDTLS_SSL_PROTO_TLS1_2_OR_EARLIER) */
{
case MBEDTLS_KEY_EXCHANGE_RSA:
case MBEDTLS_KEY_EXCHANGE_RSA_PSK:
Expand Down

0 comments on commit bbd0e19

Please sign in to comment.