diff --git a/programs/ssl/ssl_client2.c b/programs/ssl/ssl_client2.c index e4a1426a3..e8917e13c 100644 --- a/programs/ssl/ssl_client2.c +++ b/programs/ssl/ssl_client2.c @@ -742,8 +742,8 @@ int main( int argc, char *argv[] ) } } - printf( " ok\n [ Ciphersuite is %s ]\n", - ssl_get_ciphersuite( &ssl ) ); + printf( " ok\n [ Protocol is %s ]\n [ Ciphersuite is %s ]\n", + ssl_get_version( &ssl ), ssl_get_ciphersuite( &ssl ) ); if( opt.reconnect != 0 ) { diff --git a/programs/ssl/ssl_server2.c b/programs/ssl/ssl_server2.c index 7233dff45..c916b8ba0 100644 --- a/programs/ssl/ssl_server2.c +++ b/programs/ssl/ssl_server2.c @@ -808,8 +808,8 @@ reset: } } - printf( " ok\n [ Ciphersuite is %s ]\n", - ssl_get_ciphersuite( &ssl ) ); + printf( " ok\n [ Protocol is %s ]\n [ Ciphersuite is %s ]\n", + ssl_get_version( &ssl ), ssl_get_ciphersuite( &ssl ) ); #if defined(POLARSSL_X509_CRT_PARSE_C) /*