Print protocol version in example cli/srv
This commit is contained in:
parent
6b1e207081
commit
c580a00e3c
2 changed files with 4 additions and 4 deletions
|
@ -742,8 +742,8 @@ int main( int argc, char *argv[] )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
printf( " ok\n [ Ciphersuite is %s ]\n",
|
printf( " ok\n [ Protocol is %s ]\n [ Ciphersuite is %s ]\n",
|
||||||
ssl_get_ciphersuite( &ssl ) );
|
ssl_get_version( &ssl ), ssl_get_ciphersuite( &ssl ) );
|
||||||
|
|
||||||
if( opt.reconnect != 0 )
|
if( opt.reconnect != 0 )
|
||||||
{
|
{
|
||||||
|
|
|
@ -808,8 +808,8 @@ reset:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
printf( " ok\n [ Ciphersuite is %s ]\n",
|
printf( " ok\n [ Protocol is %s ]\n [ Ciphersuite is %s ]\n",
|
||||||
ssl_get_ciphersuite( &ssl ) );
|
ssl_get_version( &ssl ), ssl_get_ciphersuite( &ssl ) );
|
||||||
|
|
||||||
#if defined(POLARSSL_X509_CRT_PARSE_C)
|
#if defined(POLARSSL_X509_CRT_PARSE_C)
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue