Commit b01e4d75 authored by Alex Guzman's avatar Alex Guzman Committed by Facebook Github Bot

Create X509_STORE ptr type

Summary: What it says on tin

Reviewed By: knekritz

Differential Revision: D5533819

fbshipit-source-id: e3ba89f02d20d171fbcb8ed2853267d37bd86756
parent 6065a18c
......@@ -32,6 +32,9 @@ using ASN1TimeUniquePtr = std::unique_ptr<ASN1_TIME, ASN1TimeDeleter>;
// X509
using X509Deleter = folly::static_function_deleter<X509, &X509_free>;
using X509UniquePtr = std::unique_ptr<X509, X509Deleter>;
using X509StoreDeleter =
folly::static_function_deleter<X509_STORE, &X509_STORE_free>;
using X509StoreUniquePtr = std::unique_ptr<X509_STORE, X509StoreDeleter>;
using X509StoreCtxDeleter =
folly::static_function_deleter<X509_STORE_CTX, &X509_STORE_CTX_free>;
using X509StoreCtxUniquePtr =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment