1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

Fix a few more #ifdef's

This commit is contained in:
Manuel Pégourié-Gonnard
2015-05-11 16:15:19 +02:00
parent d8d0d72dde
commit 55fab2de5d
2 changed files with 3 additions and 1 deletions

View File

@ -6578,7 +6578,7 @@ void mbedtls_ssl_free( mbedtls_ssl_context *ssl )
}
#endif
#if defined(MBEDTLS_SSL_SERVER_NAME_INDICATION)
#if defined(MBEDTLS_X509_CRT_PARSE_C)
if( ssl->hostname != NULL )
{
mbedtls_zeroize( ssl->hostname, strlen( ssl->hostname ) );