1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

Fix issues with new defaults

This commit is contained in:
Manuel Pégourié-Gonnard
2015-01-21 14:37:13 +00:00
parent 67505bf9e8
commit 23eb74d8b5
3 changed files with 3 additions and 3 deletions

View File

@ -1698,7 +1698,7 @@ int main( int argc, char *argv[] )
if( opt.min_version != -1 )
{
ret = ssl_set_min_version( &ssl, SSL_MAJOR_VERSION_3, opt.min_version );
if( ret != 0 )
if( ret != 0 && opt.min_version != DFL_MIN_VERSION )
{
printf( " failed\n ! selected min_version is not available\n" );
goto exit;