mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-06-25 22:56:35 +08:00
Add a missing guard in an example program
MD variable is not used in builds without MD. Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
This commit is contained in:
parent
bf22a2500b
commit
dcce505a08
@ -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