From 38c0b1abdc5e41cbe8bfd24de6edb445d9d0bfdb Mon Sep 17 00:00:00 2001 From: Subodh Iyengar Date: Thu, 28 Apr 2016 11:12:54 -0700 Subject: [PATCH] Strict validation for certs Summary: Add X509 param types Reviewed By: knekritz Differential Revision: D3230008 fb-gh-sync-id: 660a2f5bdc9355f5b42c2ccfb1d7cab83df34fc2 fbshipit-source-id: 660a2f5bdc9355f5b42c2ccfb1d7cab83df34fc2 --- folly/io/async/ssl/OpenSSLPtrTypes.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/folly/io/async/ssl/OpenSSLPtrTypes.h b/folly/io/async/ssl/OpenSSLPtrTypes.h index 2000db2f..7948c62a 100644 --- a/folly/io/async/ssl/OpenSSLPtrTypes.h +++ b/folly/io/async/ssl/OpenSSLPtrTypes.h @@ -37,6 +37,10 @@ using X509StoreCtxDeleter = folly::static_function_deleter; using X509StoreCtxUniquePtr = std::unique_ptr; +using X509VerifyParamDeleter = + folly::static_function_deleter; +using X509VerifyParam = + std::unique_ptr; // EVP using EvpPkeyDel = folly::static_function_deleter; -- 2.34.1