mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
Fix no-tls1_2
Also fixes no-tls1_2-method, no-tls1_3, no-tls, no-ec Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/6253)
This commit is contained in:
parent
199dc0d3e8
commit
ba8b48e98d
@ -4693,11 +4693,11 @@ static int test_ticket_callbacks(int tst)
|
||||
int testresult = 0;
|
||||
|
||||
#ifdef OPENSSL_NO_TLS1_2
|
||||
if (tst % 2 == 0);
|
||||
if (tst % 2 == 0)
|
||||
return 1;
|
||||
#endif
|
||||
#ifdef OPENSSL_NO_TLS1_3
|
||||
if (tst % 2 == 1);
|
||||
if (tst % 2 == 1)
|
||||
return 1;
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user