aboutsummaryrefslogtreecommitdiff
path: root/openssl/src/c_helpers.c
diff options
context:
space:
mode:
authorKevin King <[email protected]>2016-04-06 18:44:17 -0400
committerKevin King <[email protected]>2016-04-06 19:39:50 -0400
commit4016edd4de9f660a1a4c5fa67f2f04c6a828fab0 (patch)
treef1dc0445cf8269cddbcf8a44be37b87d2d76fc81 /openssl/src/c_helpers.c
parentMerge pull request #372 from jwilm/safe-bio-method-wrapper (diff)
downloadrust-openssl-4016edd4de9f660a1a4c5fa67f2f04c6a828fab0.tar.xz
rust-openssl-4016edd4de9f660a1a4c5fa67f2f04c6a828fab0.zip
add EVP_PKEY_copy_parameters to FFI
copy EVP_PKEY params in PKey::clone test that PKey::clone creates a copy
Diffstat (limited to 'openssl/src/c_helpers.c')
-rw-r--r--openssl/src/c_helpers.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/openssl/src/c_helpers.c b/openssl/src/c_helpers.c
index 1b48565e..e884bebd 100644
--- a/openssl/src/c_helpers.c
+++ b/openssl/src/c_helpers.c
@@ -8,10 +8,6 @@ void rust_SSL_CTX_clone(SSL_CTX *ctx) {
CRYPTO_add(&ctx->references,1,CRYPTO_LOCK_SSL_CTX);
}
-void rust_EVP_PKEY_clone(EVP_PKEY *pkey) {
- CRYPTO_add(&pkey->references,1,CRYPTO_LOCK_EVP_PKEY);
-}
-
void rust_X509_clone(X509 *x509) {
CRYPTO_add(&x509->references,1,CRYPTO_LOCK_X509);
}