summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2018-05-14 14:37:16 +0100
committerMatt Caswell <matt@openssl.org>2018-05-14 17:43:19 +0100
commitba8b48e98dd86851ca20733f819da5b76859e64a (patch)
treeb273f66258c27a0848d99339d65bc5e768f507e2
parent199dc0d3e857fa4242d90d89a0df52e87b975c67 (diff)
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)
-rw-r--r--test/sslapitest.c4
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