From: Subodh Iyengar Date: Mon, 24 Oct 2016 20:51:50 +0000 (-0700) Subject: Add smart pointer types for ec X-Git-Tag: v2016.10.31.00~11 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d724e512989f5613d0b2497d0401a6ef0f78273e;p=folly.git Add smart pointer types for ec Summary: Add smart pointer types for ec groups and points Reviewed By: yfeldblum Differential Revision: D4066848 fbshipit-source-id: f8a5c59cf902584e5a4bea7265834fcc8898677b --- diff --git a/folly/io/async/ssl/OpenSSLPtrTypes.h b/folly/io/async/ssl/OpenSSLPtrTypes.h index 97f89ff3..238dd9be 100644 --- a/folly/io/async/ssl/OpenSSLPtrTypes.h +++ b/folly/io/async/ssl/OpenSSLPtrTypes.h @@ -83,6 +83,10 @@ using RsaUniquePtr = std::unique_ptr; #ifndef OPENSSL_NO_EC using EcKeyDeleter = folly::static_function_deleter; using EcKeyUniquePtr = std::unique_ptr; +using EcGroupDeleter = folly::static_function_deleter; +using EcGroupUniquePtr = std::unique_ptr; +using EcPointDeleter = folly::static_function_deleter; +using EcPointUniquePtr = std::unique_ptr; #endif // BIGNUMs