Fix issues with new defaults
This commit is contained in:
parent
67505bf9e8
commit
23eb74d8b5
3 changed files with 3 additions and 3 deletions
|
@ -1176,7 +1176,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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -1124,7 +1124,7 @@ run_test "Max fragment length: client, larger message" \
|
|||
-s "2048 bytes read" \
|
||||
-s "297 bytes read"
|
||||
|
||||
run_test "Max fragment length: client, larger message" \
|
||||
run_test "Max fragment length: DTLS client, larger message" \
|
||||
"$P_SRV debug_level=3 dtls=1" \
|
||||
"$P_CLI debug_level=3 dtls=1 max_frag_len=2048 request_size=2345" \
|
||||
1 \
|
||||
|
|
Loading…
Reference in a new issue