From d0f5d8507733fce4aa31fed1bb81580d96b39e88 Mon Sep 17 00:00:00 2001 From: Alex Guzman Date: Thu, 3 Aug 2017 14:18:34 -0700 Subject: [PATCH] Add X509_EXTENSION unique pointer Summary: Adds unique pointer type for X509_EXTENSION Reviewed By: knekritz Differential Revision: D5556504 fbshipit-source-id: b84190f20dd0a2ee9f5f07f197caf53a9a063af7 --- folly/ssl/OpenSSLPtrTypes.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/folly/ssl/OpenSSLPtrTypes.h b/folly/ssl/OpenSSLPtrTypes.h index 7784888f..683add6a 100644 --- a/folly/ssl/OpenSSLPtrTypes.h +++ b/folly/ssl/OpenSSLPtrTypes.h @@ -32,6 +32,10 @@ using ASN1TimeUniquePtr = std::unique_ptr; // X509 using X509Deleter = folly::static_function_deleter; using X509UniquePtr = std::unique_ptr; +using X509ExtensionDeleter = + folly::static_function_deleter; +using X509ExtensionUniquePtr = + std::unique_ptr; using X509StoreDeleter = folly::static_function_deleter; using X509StoreUniquePtr = std::unique_ptr; -- 2.34.1