Fix signed integer overflow in StaticTracepointTest.cpp
[folly.git] / folly / portability / OpenSSL.cpp
index 5de51036fb2e0291323f69ad67c34f1c79fd24e1..845c441013a07f93b5525707d0ef38687a906313 100644 (file)
@@ -392,7 +392,15 @@ void OPENSSL_cleanup() {
   ERR_clear_error();
 }
 
-#endif // !FOLLY_OPENSSL_IS_110
-}
+const ASN1_INTEGER* X509_REVOKED_get0_serialNumber(const X509_REVOKED* r) {
+  return r->serialNumber;
 }
+
+const ASN1_TIME* X509_REVOKED_get0_revocationDate(const X509_REVOKED* r) {
+  return r->revocationDate;
 }
+
+#endif // !FOLLY_OPENSSL_IS_110
+} // namespace ssl
+} // namespace portability
+} // namespace folly