aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/evp/p_lib.c
diff options
context:
space:
mode:
authorGeoff Thorpe <geoff@openssl.org>2001-09-05 17:02:35 +0000
committerGeoff Thorpe <geoff@openssl.org>2001-09-05 17:02:35 +0000
commite815d3015eba4e54f414636b8907e15e249d72cf (patch)
tree63a34e9c78ca622ebfd11dc1c81eb82d7faef8a1 /crypto/evp/p_lib.c
parentdc2a33d680a113777f9e1ab864e8848c37c3cfec (diff)
downloadopenssl-e815d3015eba4e54f414636b8907e15e249d72cf.tar.gz
Change DH_up() -> DH_up_ref()
Diffstat (limited to 'crypto/evp/p_lib.c')
-rw-r--r--crypto/evp/p_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/evp/p_lib.c b/crypto/evp/p_lib.c
index 04f75a5a24..215b94292a 100644
--- a/crypto/evp/p_lib.c
+++ b/crypto/evp/p_lib.c
@@ -252,7 +252,7 @@ int EVP_PKEY_set1_DH(EVP_PKEY *pkey, DH *key)
{
int ret = EVP_PKEY_assign_DH(pkey, key);
if(ret)
- DH_up(key);
+ DH_up_ref(key);
return ret;
}
@@ -262,7 +262,7 @@ DH *EVP_PKEY_get1_DH(EVP_PKEY *pkey)
EVPerr(EVP_F_EVP_PKEY_GET1_DH, EVP_R_EXPECTING_A_DH_KEY);
return NULL;
}
- DH_up(pkey->pkey.dh);
+ DH_up_ref(pkey->pkey.dh);
return pkey->pkey.dh;
}
#endif