From c1f4aacc75c0a64a81a2be8d6a3a23aa21a31b15 Mon Sep 17 00:00:00 2001 From: Timothy J Fontaine Date: Wed, 15 Oct 2014 14:48:05 -0700 Subject: [PATCH] build: revert change to disable ssl2 and ssl3 --- configure | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/configure b/configure index 5d8dee0e9dcf..d2998c8d34ca 100755 --- a/configure +++ b/configure @@ -112,15 +112,15 @@ parser.add_option("--systemtap-includes", dest="systemtap_includes", help=optparse.SUPPRESS_HELP) -parser.add_option("--ssl2", +parser.add_option("--without-ssl2", action="store_true", dest="ssl2", - help="Enable SSL v2") + help="Disable SSL v2") -parser.add_option("--ssl3", +parser.add_option("--without-ssl3", action="store_true", dest="ssl3", - help="Enable SSL v3") + help="Disable SSL v3") parser.add_option("--shared-zlib", action="store_true", @@ -625,10 +625,10 @@ def configure_openssl(o): if options.without_ssl: return - if not options.ssl2: + if options.ssl2: o['defines'] += ['OPENSSL_NO_SSL2=1'] - if not options.ssl3: + if options.ssl3: o['defines'] += ['OPENSSL_NO_SSL3=1'] if options.shared_openssl: