Add TLS 1.2+ version for contexts
[folly.git] / folly / io / async / SSLContext.h
index ded583f52fa7930c5543ef4b497d95e21f079130..d556806fa552d001081d847eec136d5d3506e296 100644 (file)
@@ -68,11 +68,11 @@ class PasswordCollector {
  */
 class SSLContext {
  public:
-
   enum SSLVersion {
-     SSLv2,
-     SSLv3,
-     TLSv1
+    SSLv2,
+    SSLv3,
+    TLSv1, // support TLS 1.0+
+    TLSv1_2, // support for only TLS 1.2+
   };
 
   /**