summaryrefslogtreecommitdiffstats
path: root/crypto/dsa/dsa_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/dsa/dsa_lib.c
parent983495c4b215b7418dc3470fa8bc9c919c09c683 (diff)
Rename recently introduced functions for improved code clarity:
[DR]SA_up => [DR]SA_up_ref
Diffstat (limited to 'crypto/dsa/dsa_lib.c')
-rw-r--r--crypto/dsa/dsa_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/dsa/dsa_lib.c b/crypto/dsa/dsa_lib.c
index bae39c20d4..365145a96b 100644
--- a/crypto/dsa/dsa_lib.c
+++ b/crypto/dsa/dsa_lib.c
@@ -226,7 +226,7 @@ void DSA_free(DSA *r)
OPENSSL_free(r);
}
-int DSA_up(DSA *r)
+int DSA_up_ref(DSA *r)
{
int i = CRYPTO_add(&r->references, 1, CRYPTO_LOCK_DSA);
#ifdef REF_PRINT
@@ -235,7 +235,7 @@ int DSA_up(DSA *r)
#ifdef REF_CHECK
if (i < 2)
{
- fprintf(stderr, "DSA_up, bad reference count\n");
+ fprintf(stderr, "DSA_up_ref, bad reference count\n");
abort();
}
#endif