Rename recently introduced functions for improved code clarity:
[DR]SA_up => [DR]SA_up_ref
diff --git a/crypto/evp/p_lib.c b/crypto/evp/p_lib.c
index 86178f1..04f75a5 100644
--- a/crypto/evp/p_lib.c
+++ b/crypto/evp/p_lib.c
@@ -211,7 +211,7 @@
{
int ret = EVP_PKEY_assign_RSA(pkey, key);
if(ret)
- RSA_up(key);
+ RSA_up_ref(key);
return ret;
}
@@ -221,7 +221,7 @@
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 ret = EVP_PKEY_assign_DSA(pkey, key);
if(ret)
- DSA_up(key);
+ DSA_up_ref(key);
return ret;
}
@@ -241,7 +241,7 @@
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