mirror of
https://github.com/openssl/openssl.git
synced 2025-03-31 20:10:45 +08:00
Fix no-tls1_2
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/6634)
This commit is contained in:
parent
a9f3f1ccbb
commit
a97d19f7ce
@ -5097,11 +5097,11 @@ static int test_shutdown(int tst)
|
||||
size_t written, readbytes;
|
||||
|
||||
#ifdef OPENSSL_NO_TLS1_2
|
||||
if (tst == 0)
|
||||
if (tst <= 1)
|
||||
return 1;
|
||||
#endif
|
||||
#ifdef OPENSSL_NO_TLS1_3
|
||||
if (tst != 0)
|
||||
if (tst >= 2)
|
||||
return 1;
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user