diff options
author | Matt Caswell <matt@openssl.org> | 2018-05-14 15:37:16 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2018-05-14 18:43:19 +0200 |
commit | ba8b48e98dd86851ca20733f819da5b76859e64a (patch) | |
tree | b273f66258c27a0848d99339d65bc5e768f507e2 /test/sslapitest.c | |
parent | Fix no-psk (diff) | |
download | openssl-ba8b48e98dd86851ca20733f819da5b76859e64a.tar.xz openssl-ba8b48e98dd86851ca20733f819da5b76859e64a.zip |
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)
Diffstat (limited to 'test/sslapitest.c')
-rw-r--r-- | test/sslapitest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/sslapitest.c b/test/sslapitest.c index fc7288d57d..06d6cb2b68 100644 --- a/test/sslapitest.c +++ b/test/sslapitest.c @@ -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 |