diff --git a/library/ssl_tls12_client.c b/library/ssl_tls12_client.c index 56aef8947..bff9ded39 100644 --- a/library/ssl_tls12_client.c +++ b/library/ssl_tls12_client.c @@ -3199,12 +3199,6 @@ ecdh_calc_secret: defined(MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED) if( ciphersuite_info->key_exchange == MBEDTLS_KEY_EXCHANGE_ECDHE_PSK ) { -#if defined(MBEDTLS_USE_PSA_CRYPTO) - /* Opaque PSKs are currently only supported for PSK-only suites. */ - if( ssl_conf_has_static_raw_psk( ssl->conf ) == 0 ) - return( MBEDTLS_ERR_SSL_FEATURE_UNAVAILABLE ); -#endif /* MBEDTLS_USE_PSA_CRYPTO */ - /* * ClientECDiffieHellmanPublic public; */