mk1mf.pl: check for no-tls1 here as well
authorRichard Levitte <levitte@openssl.org>
Thu, 22 Sep 2016 08:01:38 +0000 (10:01 +0200)
committerMatt Caswell <matt@openssl.org>
Thu, 22 Sep 2016 08:16:08 +0000 (09:16 +0100)
Reviewed-by: Matt Caswell <matt@openssl.org>
util/mk1mf.pl

index 4eded5aafe58f020818272aa3e89135d2dd98c38..7a3ae11f7865fe720764ac1b9276094db2c77f9d 100755 (executable)
@@ -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,