mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-23 15:55:10 +01:00
Fix issues with new defaults
This commit is contained in:
parent
67505bf9e8
commit
23eb74d8b5
3 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue