Commit f604b03c authored by Ilya Maykov's avatar Ilya Maykov Committed by Facebook GitHub Bot

add unique ptr type for X509_PUBKEY

Summary: See title.

Reviewed By: yfeldblum

Differential Revision: D26419855

fbshipit-source-id: 2857c80eb2500d8d3d5f815a1f795ddeac31165f
parent 6f7d8f37
...@@ -53,6 +53,7 @@ FOLLY_SSL_DETAIL_DEFINE_PTR_TYPE( ...@@ -53,6 +53,7 @@ FOLLY_SSL_DETAIL_DEFINE_PTR_TYPE(
X509StoreCtx, X509_STORE_CTX, X509_STORE_CTX_free); X509StoreCtx, X509_STORE_CTX, X509_STORE_CTX_free);
FOLLY_SSL_DETAIL_DEFINE_PTR_TYPE(X509Sig, X509_SIG, X509_SIG_free); FOLLY_SSL_DETAIL_DEFINE_PTR_TYPE(X509Sig, X509_SIG, X509_SIG_free);
FOLLY_SSL_DETAIL_DEFINE_PTR_TYPE(X509Algor, X509_ALGOR, X509_ALGOR_free); FOLLY_SSL_DETAIL_DEFINE_PTR_TYPE(X509Algor, X509_ALGOR, X509_ALGOR_free);
FOLLY_SSL_DETAIL_DEFINE_PTR_TYPE(X509Pubkey, X509_PUBKEY, X509_PUBKEY_free);
using X509VerifyParamDeleter = using X509VerifyParamDeleter =
folly::static_function_deleter<X509_VERIFY_PARAM, &X509_VERIFY_PARAM_free>; folly::static_function_deleter<X509_VERIFY_PARAM, &X509_VERIFY_PARAM_free>;
using X509VerifyParam = using X509VerifyParam =
......
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