From: Alex Guzman Date: Thu, 3 Aug 2017 21:18:34 +0000 (-0700) Subject: Add X509_EXTENSION unique pointer X-Git-Tag: v2017.08.07.00~5 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;ds=sidebyside;h=d0f5d8507733fce4aa31fed1bb81580d96b39e88;p=folly.git Add X509_EXTENSION unique pointer Summary: Adds unique pointer type for X509_EXTENSION Reviewed By: knekritz Differential Revision: D5556504 fbshipit-source-id: b84190f20dd0a2ee9f5f07f197caf53a9a063af7 --- 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;