From 5cf05ad21ce287a7deb175194530b84093241cce Mon Sep 17 00:00:00 2001 From: David Benjamin Date: Fri, 14 Sep 2018 09:34:17 -0700 Subject: [PATCH] Add missing bssl::UpRef overloads. Change-Id: I840307526238219385ea6144739f5df78c596a4f Reviewed-on: https://boringssl-review.googlesource.com/31946 Reviewed-by: Adam Langley Commit-Queue: David Benjamin CQ-Verified: CQ bot account: commit-bot@chromium.org --- include/openssl/dh.h | 1 + include/openssl/dsa.h | 1 + include/openssl/ec_key.h | 1 + include/openssl/rsa.h | 1 + 4 files changed, 4 insertions(+) diff --git a/include/openssl/dh.h b/include/openssl/dh.h index 7188790a..7e103038 100644 --- a/include/openssl/dh.h +++ b/include/openssl/dh.h @@ -281,6 +281,7 @@ extern "C++" { BSSL_NAMESPACE_BEGIN BORINGSSL_MAKE_DELETER(DH, DH_free) +BORINGSSL_MAKE_UP_REF(DH, DH_up_ref) BSSL_NAMESPACE_END diff --git a/include/openssl/dsa.h b/include/openssl/dsa.h index 70cde7bb..bed93c5d 100644 --- a/include/openssl/dsa.h +++ b/include/openssl/dsa.h @@ -420,6 +420,7 @@ extern "C++" { BSSL_NAMESPACE_BEGIN BORINGSSL_MAKE_DELETER(DSA, DSA_free) +BORINGSSL_MAKE_UP_REF(DSA, DSA_up_ref) BORINGSSL_MAKE_DELETER(DSA_SIG, DSA_SIG_free) BSSL_NAMESPACE_END diff --git a/include/openssl/ec_key.h b/include/openssl/ec_key.h index 7e9e4e8f..9bc78875 100644 --- a/include/openssl/ec_key.h +++ b/include/openssl/ec_key.h @@ -339,6 +339,7 @@ extern "C++" { BSSL_NAMESPACE_BEGIN BORINGSSL_MAKE_DELETER(EC_KEY, EC_KEY_free) +BORINGSSL_MAKE_UP_REF(EC_KEY, EC_KEY_up_ref) BSSL_NAMESPACE_END diff --git a/include/openssl/rsa.h b/include/openssl/rsa.h index 8098c482..dcca9e3f 100644 --- a/include/openssl/rsa.h +++ b/include/openssl/rsa.h @@ -726,6 +726,7 @@ extern "C++" { BSSL_NAMESPACE_BEGIN BORINGSSL_MAKE_DELETER(RSA, RSA_free) +BORINGSSL_MAKE_UP_REF(RSA, RSA_up_ref) BSSL_NAMESPACE_END