Treat OpenSSL as a non-portable include
authorChristopher Dykes <cdykes@fb.com>
Tue, 11 Apr 2017 21:17:10 +0000 (14:17 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 11 Apr 2017 21:20:08 +0000 (14:20 -0700)
commitc5b9338ec192ed46907905d173b65d158a038842
treec09bccdb2ee8bde5fa4f190d092010d23918baf4
parenta5a611496aa06ce04fe4a4411cdafbf5ab8e8ec6
Treat OpenSSL as a non-portable include

Summary: On Windows, the OpenSSL headers have to be included in a specific order relative to WinSock. Fixing the issues ad-hock is not a viable way to continue, so treat it as completely non-portable and require all includes of it in Folly to go through the portability header.

Reviewed By: yfeldblum

Differential Revision: D4856858

fbshipit-source-id: 56aca1fb0fe095f41a8af12488c6c2080344603d
16 files changed:
folly/io/async/AsyncSSLSocket.cpp
folly/io/async/AsyncTransport.h
folly/io/async/SSLContext.cpp
folly/io/async/SSLContext.h
folly/io/async/ssl/OpenSSLPtrTypes.h
folly/io/async/ssl/OpenSSLUtils.cpp
folly/io/async/ssl/OpenSSLUtils.h
folly/io/async/ssl/test/SSLErrorsTest.cpp
folly/io/async/test/AsyncSSLSocketTest.cpp
folly/io/async/test/AsyncSocketExceptionTest.cpp
folly/portability/OpenSSL.h
folly/ssl/OpenSSLCertUtils.cpp
folly/ssl/OpenSSLCertUtils.h
folly/ssl/OpenSSLHash.h
folly/ssl/OpenSSLVersionFinder.h
folly/ssl/test/OpenSSLCertUtilsTest.cpp