Add TLS 1.2+ version for contexts
authorNeel Goyal <ngoyal@fb.com>
Tue, 1 Aug 2017 19:18:25 +0000 (12:18 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 1 Aug 2017 19:29:30 +0000 (12:29 -0700)
commitb669462b65cacda010d6dca11bc56f9aee768ebc
treee14a2f145af69e59db76161545d9f5be3f5ff829
parent432d60d63348ad14320d13eca91e5f9b37d3c96b
Add TLS 1.2+ version for contexts

Summary: Add an SSL Version that specifies only TLS 1.2 and up.  This prevents any client with less than TLS 1.2 from connecting.

Reviewed By: knekritz

Differential Revision: D5537423

fbshipit-source-id: 131f5b124af379eaa2b443052be9b43290c41820
folly/io/async/SSLContext.cpp
folly/io/async/SSLContext.h
folly/io/async/test/AsyncSSLSocketTest2.cpp
folly/io/async/test/TestSSLServer.cpp
folly/io/async/test/TestSSLServer.h