mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-18 05:42:35 +00:00
Merge pull request #6249 from AndrzejKurek/fix-ssl-programs-no-md
Add a missing guard in an example program
This commit is contained in:
commit
6d1fc45f08
@ -631,7 +631,9 @@ void print_deserialized_ssl_session( const uint8_t *ssl, uint32_t len,
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
const mbedtls_cipher_info_t *cipher_info;
|
const mbedtls_cipher_info_t *cipher_info;
|
||||||
|
#if defined(MBEDTLS_MD_C)
|
||||||
const mbedtls_md_info_t *md_info;
|
const mbedtls_md_info_t *md_info;
|
||||||
|
#endif
|
||||||
|
|
||||||
printf( "\tciphersuite : %s\n", ciphersuite_info->name );
|
printf( "\tciphersuite : %s\n", ciphersuite_info->name );
|
||||||
printf( "\tcipher flags : 0x%02X\n", ciphersuite_info->flags );
|
printf( "\tcipher flags : 0x%02X\n", ciphersuite_info->flags );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user