Fix case where ssl cert does not match key
[folly.git] / folly / portability / OpenSSL.h
index c1ed8c64612924c7de3f1f24a1fba22250151b3c..eceb91d6c4f02c61a0700522d39e0b8e2f1bae85 100644 (file)
@@ -173,6 +173,9 @@ using OPENSSL_INIT_SETTINGS = void;
 int OPENSSL_init_ssl(uint64_t opts, const OPENSSL_INIT_SETTINGS* settings);
 void OPENSSL_cleanup();
 
+const ASN1_INTEGER* X509_REVOKED_get0_serialNumber(const X509_REVOKED* r);
+const ASN1_TIME* X509_REVOKED_get0_revocationDate(const X509_REVOKED* r);
+
 #endif
 
 #if FOLLY_OPENSSL_IS_110
@@ -184,9 +187,9 @@ void OPENSSL_cleanup();
 // indicates it isn't supported.
 #define OPENSSL_NO_SSL2
 #endif
-}
-}
-}
+} // namespace ssl
+} // namespace portability
+} // namespace folly
 
 FOLLY_PUSH_WARNING
 #if __CLANG_PREREQ(3, 0)