aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/rsa/rsa_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/rsa/rsa_lib.c')
-rw-r--r--crypto/rsa/rsa_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/rsa/rsa_lib.c b/crypto/rsa/rsa_lib.c
index e3368c1ee5..ef9f924ab4 100644
--- a/crypto/rsa/rsa_lib.c
+++ b/crypto/rsa/rsa_lib.c
@@ -246,7 +246,7 @@ void RSA_free(RSA *r)
OPENSSL_free(r);
}
-int RSA_up(RSA *r)
+int RSA_up_ref(RSA *r)
{
int i = CRYPTO_add(&r->references, 1, CRYPTO_LOCK_RSA);
#ifdef REF_PRINT
@@ -255,7 +255,7 @@ int RSA_up(RSA *r)
#ifdef REF_CHECK
if (i < 2)
{
- fprintf(stderr, "RSA_up, bad reference count\n");
+ fprintf(stderr, "RSA_up_ref, bad reference count\n");
abort();
}
#endif