Merge pull request #6249 from AndrzejKurek/fix-ssl-programs-no-md

Add a missing guard in an example program
This commit is contained in:
Gilles Peskine
2022-08-31 09:56:40 +02:00
committed by GitHub

View File

@@ -631,7 +631,9 @@ void print_deserialized_ssl_session( const uint8_t *ssl, uint32_t len,
else
{
const mbedtls_cipher_info_t *cipher_info;
#if defined(MBEDTLS_MD_C)
const mbedtls_md_info_t *md_info;
#endif
printf( "\tciphersuite : %s\n", ciphersuite_info->name );
printf( "\tcipher flags : 0x%02X\n", ciphersuite_info->flags );