mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
Test check the key material exported match
- include interop with openssl client Signed-off-by: Johan Pascal <johan.pascal@belledonne-communications.com>
This commit is contained in:
@ -3890,7 +3890,17 @@ handshake:
|
||||
mbedtls_printf( "\n " );
|
||||
mbedtls_printf( "%02x ", dtls_srtp_key_material[j] );
|
||||
}
|
||||
mbedtls_printf( "\n" );
|
||||
|
||||
/* produce a less readable output used to perform automatic checks
|
||||
* - compare client and server output
|
||||
* - interop test with openssl which client produces this kind of output
|
||||
*/
|
||||
mbedtls_printf( " Keying material: " );
|
||||
for( j = 0; j < sizeof( dtls_srtp_key_material ); j++ )
|
||||
{
|
||||
mbedtls_printf( "%02X", dtls_srtp_key_material[j] );
|
||||
}
|
||||
mbedtls_printf( "\n" );
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user