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" );