Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

Commit c1f4aac

Browse files
committed
build: revert change to disable ssl2 and ssl3
1 parent 707cc25 commit c1f4aac

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

configure

+6-6
Original file line numberDiff line numberDiff line change
@@ -112,15 +112,15 @@ parser.add_option("--systemtap-includes",
112112
dest="systemtap_includes",
113113
help=optparse.SUPPRESS_HELP)
114114

115-
parser.add_option("--ssl2",
115+
parser.add_option("--without-ssl2",
116116
action="store_true",
117117
dest="ssl2",
118-
help="Enable SSL v2")
118+
help="Disable SSL v2")
119119

120-
parser.add_option("--ssl3",
120+
parser.add_option("--without-ssl3",
121121
action="store_true",
122122
dest="ssl3",
123-
help="Enable SSL v3")
123+
help="Disable SSL v3")
124124

125125
parser.add_option("--shared-zlib",
126126
action="store_true",
@@ -625,10 +625,10 @@ def configure_openssl(o):
625625
if options.without_ssl:
626626
return
627627

628-
if not options.ssl2:
628+
if options.ssl2:
629629
o['defines'] += ['OPENSSL_NO_SSL2=1']
630630

631-
if not options.ssl3:
631+
if options.ssl3:
632632
o['defines'] += ['OPENSSL_NO_SSL3=1']
633633

634634
if options.shared_openssl:

0 commit comments

Comments
 (0)