mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
Fix test and formatting in ssl_context_info
Signed-off-by: Paul Höhn <paul.hoehn@icloud.com>
This commit is contained in:
@ -547,14 +547,10 @@ static void print_deserialized_ssl_session(const uint8_t *ssl, uint32_t len,
|
||||
if (ciphersuite_info == NULL) {
|
||||
printf_err("Cannot find ciphersuite info\n");
|
||||
} else {
|
||||
|
||||
printf("\tciphersuite : %s\n", mbedtls_ssl_ciphersuite_get_name(ciphersuite_info));
|
||||
printf("\tcipher flags : 0x%02X\n", ciphersuite_info->MBEDTLS_PRIVATE(flags));
|
||||
printf("\tcipher type : %d\n", ciphersuite_info->MBEDTLS_PRIVATE(cipher));
|
||||
|
||||
#if defined(MBEDTLS_MD_C)
|
||||
printf("\tMessage-Digest : %d\n", ciphersuite_info->MBEDTLS_PRIVATE(mac));
|
||||
#endif /* MBEDTLS_MD_C */
|
||||
}
|
||||
|
||||
CHECK_SSL_END(1);
|
||||
|
Reference in New Issue
Block a user