projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc2a33d
)
Change DH_up() -> DH_up_ref()
author
Geoff Thorpe
<geoff@openssl.org>
Wed, 5 Sep 2001 17:02:35 +0000
(17:02 +0000)
committer
Geoff Thorpe
<geoff@openssl.org>
Wed, 5 Sep 2001 17:02:35 +0000
(17:02 +0000)
crypto/evp/p_lib.c
patch
|
blob
|
history
diff --git
a/crypto/evp/p_lib.c
b/crypto/evp/p_lib.c
index 04f75a5a245cfc26cd486e32cac8fc66de44de03..215b94292aae4428aeb3cda5a97c7aaa59aecf1a 100644
(file)
--- 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