Commit 731276a4 authored by Andrew Huang's avatar Andrew Huang Committed by Facebook GitHub Bot

Set default minimum TLS version in SSLContext to TLS 1.2

Reviewed By: yfeldblum

Differential Revision: D25527140

fbshipit-source-id: 2a2721ca4418e1a4c57f621f41716e5c8f27869c
parent 17468b65
...@@ -142,7 +142,7 @@ class SSLContext { ...@@ -142,7 +142,7 @@ class SSLContext {
* *
* @param version The lowest or oldest SSL version to support. * @param version The lowest or oldest SSL version to support.
*/ */
explicit SSLContext(SSLVersion version = TLSv1); explicit SSLContext(SSLVersion version = TLSv1_2);
/** /**
* Constructor that helps ease migrations by directly wrapping a provided * Constructor that helps ease migrations by directly wrapping a provided
* SSL_CTX* * SSL_CTX*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment