From: Matt Caswell Date: Tue, 3 Jul 2018 12:36:31 +0000 (+0100) Subject: Fix no-tls1_2 X-Git-Tag: OpenSSL_1_1_1-pre9~197 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a97d19f7ce93845997a8f75f522f0331899ed5f4;p=oweals%2Fopenssl.git Fix no-tls1_2 Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/6634) --- diff --git a/test/sslapitest.c b/test/sslapitest.c index 598b02a056..64f8f59714 100644 --- a/test/sslapitest.c +++ b/test/sslapitest.c @@ -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