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

Commit

Permalink
build: revert change to disable ssl2 and ssl3
Browse files Browse the repository at this point in the history
  • Loading branch information
tjfontaine committed Oct 15, 2014
1 parent 707cc25 commit c1f4aac
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit c1f4aac

Please sign in to comment.