summaryrefslogtreecommitdiffstats
path: root/crypto/evp/p_lib.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2001-09-03 13:40:07 +0000
committerBodo Möller <bodo@openssl.org>2001-09-03 13:40:07 +0000
commit6ac4e8bd6ecff6d11ff3cd08e88356e7a2239329 (patch)
tree1514825fe21c96f6c0d471402059f549eadec7ee /crypto/evp/p_lib.c
parent983495c4b215b7418dc3470fa8bc9c919c09c683 (diff)
Rename recently introduced functions for improved code clarity:
[DR]SA_up => [DR]SA_up_ref
Diffstat (limited to 'crypto/evp/p_lib.c')
-rw-r--r--crypto/evp/p_lib.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/evp/p_lib.c b/crypto/evp/p_lib.c
index 86178f1db3..04f75a5a24 100644
--- a/crypto/evp/p_lib.c
+++ b/crypto/evp/p_lib.c
@@ -211,7 +211,7 @@ int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, RSA *key)
{
int ret = EVP_PKEY_assign_RSA(pkey, key);
if(ret)
- RSA_up(key);
+ RSA_up_ref(key);
return ret;
}
@@ -221,7 +221,7 @@ RSA *EVP_PKEY_get1_RSA(EVP_PKEY *pkey)
EVPerr(EVP_F_EVP_PKEY_GET1_RSA, EVP_R_EXPECTING_AN_RSA_KEY);
return NULL;
}
- RSA_up(pkey->pkey.rsa);
+ RSA_up_ref(pkey->pkey.rsa);
return pkey->pkey.rsa;
}
#endif
@@ -231,7 +231,7 @@ int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, DSA *key)
{
int ret = EVP_PKEY_assign_DSA(pkey, key);
if(ret)
- DSA_up(key);
+ DSA_up_ref(key);
return ret;
}
@@ -241,7 +241,7 @@ DSA *EVP_PKEY_get1_DSA(EVP_PKEY *pkey)
EVPerr(EVP_F_EVP_PKEY_GET1_DSA, EVP_R_EXPECTING_A_DSA_KEY);
return NULL;
}
- DSA_up(pkey->pkey.dsa);
+ DSA_up_ref(pkey->pkey.dsa);
return pkey->pkey.dsa;
}
#endif