Define OPENSSL_NO_SSL2 under OpenSSL 1.1.0
authorChristopher Dykes <cdykes@fb.com>
Thu, 6 Jul 2017 19:33:46 +0000 (12:33 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 6 Jul 2017 19:42:13 +0000 (12:42 -0700)
commit9c5c580189747398c04aa7892670b854aa5eb50f
tree3ccc2bd5cdb311bad07294a6a334d1be1da26347
parent1eee8628ee22c2382f7617e13eb5039bff7c9258
Define OPENSSL_NO_SSL2 under OpenSSL 1.1.0

Summary: OpenSSL 1.1.0 drops support for SSLv2, and in doing so also removes the define that user-code used to guard on whether SSLv2 was supported. This adds the define to the portability header to indicate SSLv2 is not supported.

Reviewed By: anirudhvr

Differential Revision: D5376869

fbshipit-source-id: 04708db138dc13e7747cfff582f4cfed291648b3
folly/portability/OpenSSL.h