diff options
author | David Benjamin <davidben@chromium.org> | 2015-06-30 07:20:29 +0300 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2015-07-02 00:38:39 +0300 |
commit | cce5a98efb11675b8b61e9cf9586f64773589076 (patch) | |
tree | 08952dbd5a1fd067f15f4b50da6d3dd0cd9b0986 /include/openssl/evp.h | |
parent | 76e9a2ab9746ee123e8d8c18bafa0d90ae61340f (diff) |
Remove EVP_PKEY_dup.
All callers have been moved to EVP_PKEY_up_ref. (Neither spelling exists
upstream so we only had our own callers to move.)
Change-Id: I267f14054780fe3d6dc1170b7b6ae3811a0d1a9a
Reviewed-on: https://boringssl-review.googlesource.com/5291
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'include/openssl/evp.h')
-rw-r--r-- | include/openssl/evp.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/include/openssl/evp.h b/include/openssl/evp.h index d0acb487..dd90b7d9 100644 --- a/include/openssl/evp.h +++ b/include/openssl/evp.h @@ -642,17 +642,6 @@ OPENSSL_EXPORT int EVP_PKEY_CTX_get0_rsa_oaep_label(EVP_PKEY_CTX *ctx, /* Deprecated functions. */ -/* EVP_PKEY_dup adds one to the reference count of |pkey| and returns - * |pkey|. - * - * WARNING: this is a |_dup| function that doesn't actually duplicate! Use - * |EVP_PKEY_up_ref| if you want to increment the reference count without - * confusion. */ -OPENSSL_EXPORT EVP_PKEY *EVP_PKEY_dup(EVP_PKEY *pkey); - - -/* Private functions */ - /* OpenSSL_add_all_algorithms does nothing. */ OPENSSL_EXPORT void OpenSSL_add_all_algorithms(void); @@ -665,6 +654,9 @@ OPENSSL_EXPORT void OpenSSL_add_all_digests(void); /* EVP_cleanup does nothing. */ OPENSSL_EXPORT void EVP_cleanup(void); + +/* Private functions */ + /* EVP_PKEY_asn1_find returns the ASN.1 method table for the given |nid|, which * should be one of the |EVP_PKEY_*| values. It returns NULL if |nid| is * unknown. */ |