From 90d6f35162a9515287e75248e1f880cd1cc92c1f Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 22 Sep 2016 10:01:38 +0200 Subject: [PATCH] mk1mf.pl: check for no-tls1 here as well Reviewed-by: Matt Caswell --- util/mk1mf.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util/mk1mf.pl b/util/mk1mf.pl index 4eded5aafe..7a3ae11f78 100755 --- a/util/mk1mf.pl +++ b/util/mk1mf.pl @@ -277,6 +277,7 @@ $cflags.=" -DOPENSSL_NO_SOCK" if $no_sock; $cflags.=" -DOPENSSL_NO_SSL2" if $no_ssl2; $cflags.=" -DOPENSSL_NO_SSL3" if $no_ssl3; $cflags.=" -DOPENSSL_NO_TLSEXT" if $no_tlsext; +$cflags.=" -DOPENSSL_NO_TLS1" if $no_tls1; $cflags.=" -DOPENSSL_NO_SRP" if $no_srp; $cflags.=" -DOPENSSL_NO_CMS" if $no_cms; $cflags.=" -DOPENSSL_NO_ERR" if $no_err; @@ -1205,6 +1206,7 @@ sub read_options "no-ssl3" => \$no_ssl3, "no-ssl3-method" => 0, "no-tlsext" => \$no_tlsext, + "no-tls1" => \$no_tls1, "no-srp" => \$no_srp, "no-cms" => \$no_cms, "no-jpake" => \$no_jpake, -- 2.25.1