Revert "remove psk key when ephemeral selected"

This reverts commit 5c28e7aa0e.

Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
Jerry Yu 2022-08-21 10:22:33 +08:00
parent e9d4fc09a3
commit 9f7f646b11
3 changed files with 22 additions and 15 deletions

View file

@ -2498,13 +2498,6 @@ MBEDTLS_CHECK_RETURN_CRITICAL
int mbedtls_ssl_tls13_write_binders_of_pre_shared_key_ext(
mbedtls_ssl_context *ssl,
unsigned char *buf, unsigned char *end );
/**
* \brief Remove psk from handshake context
*
* \param[in] ssl SSL context
*/
void mbedtls_ssl_remove_psk( mbedtls_ssl_context *ssl );
#endif /* MBEDTLS_KEY_EXCHANGE_SOME_PSK_ENABLED */
#endif /* ssl_misc.h */