Add support for OpenSSL 1.0
authorMichael Steinert <mike.steinert@gmail.com>
Thu, 16 Mar 2017 21:12:55 +0000 (14:12 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 16 Mar 2017 21:20:39 +0000 (14:20 -0700)
commitebebe68b72029bd6321dabf986baa18b206328c1
tree04c448edfcad7b5a0b0d7c42982726f7d125e6c4
parent3442c11dabbc3f43e2f6cb4c66dd1dd55c45bb1c
Add support for OpenSSL 1.0

Summary:
I'm working on a project where the target platform is tiny a bit out of
date:

    $ openssl version
    OpenSSL 1.0.0-fips 29 Mar 2010

For various "reasons" I'm not able to update it at this time, however I
would like to use Proxygen (and hence Folly). This patch allows Folly to
compile with the above version of OpenSSL.
Closes https://github.com/facebook/folly/pull/562

Reviewed By: Orvid

Differential Revision: D4715116

Pulled By: yfeldblum

fbshipit-source-id: be38ffb78f1e5cee971ce8cb81936b7f16efe050
folly/io/async/SSLContext.cpp
folly/portability/OpenSSL.cpp
folly/portability/OpenSSL.h