From: Matt Caswell Date: Mon, 14 May 2018 13:37:16 +0000 (+0100) Subject: Fix no-tls1_2 X-Git-Tag: OpenSSL_1_1_1-pre7~49 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ba8b48e98dd86851ca20733f819da5b76859e64a;p=oweals%2Fopenssl.git Fix no-tls1_2 Also fixes no-tls1_2-method, no-tls1_3, no-tls, no-ec Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/6253) --- 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