From d724e512989f5613d0b2497d0401a6ef0f78273e Mon Sep 17 00:00:00 2001 From: Subodh Iyengar Date: Mon, 24 Oct 2016 13:51:50 -0700 Subject: [PATCH] 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 --- folly/io/async/ssl/OpenSSLPtrTypes.h | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.34.1