From dec2552a92ac8a9b2802dd8248ecf0e92903c883 Mon Sep 17 00:00:00 2001 From: Hanno Becker Date: Fri, 26 Apr 2019 17:19:15 +0100 Subject: [PATCH] Change formating of CID debug output in ssl_client2/ssl_server2 --- programs/ssl/ssl_client2.c | 2 +- programs/ssl/ssl_server2.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/programs/ssl/ssl_client2.c b/programs/ssl/ssl_client2.c index a524f81ce..cb5bea7dc 100644 --- a/programs/ssl/ssl_client2.c +++ b/programs/ssl/ssl_client2.c @@ -2180,7 +2180,7 @@ int main( int argc, char *argv[] ) (unsigned) peer_cid_len ); while( idx < peer_cid_len ) { - mbedtls_printf( "%#02x ", peer_cid[ idx ] ); + mbedtls_printf( "%02x ", peer_cid[ idx ] ); idx++; } mbedtls_printf( "\n" ); diff --git a/programs/ssl/ssl_server2.c b/programs/ssl/ssl_server2.c index 60c5a507d..03eda0bf7 100644 --- a/programs/ssl/ssl_server2.c +++ b/programs/ssl/ssl_server2.c @@ -3330,7 +3330,7 @@ handshake: (unsigned) peer_cid_len ); while( idx < peer_cid_len ) { - mbedtls_printf( "%#02x ", peer_cid[ idx ] ); + mbedtls_printf( "%02x ", peer_cid[ idx ] ); idx++; } mbedtls_printf( "\n" );