summaryrefslogtreecommitdiffstats
path: root/ssl
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 /ssl
parent983495c4b215b7418dc3470fa8bc9c919c09c683 (diff)
Rename recently introduced functions for improved code clarity:
[DR]SA_up => [DR]SA_up_ref
Diffstat (limited to 'ssl')
-rw-r--r--ssl/s3_srvr.c2
-rw-r--r--ssl/ssl_cert.c2
-rw-r--r--ssl/ssl_rsa.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/ssl/s3_srvr.c b/ssl/s3_srvr.c
index af65e2e68a..4d0d80065a 100644
--- a/ssl/s3_srvr.c
+++ b/ssl/s3_srvr.c
@@ -982,7 +982,7 @@ static int ssl3_send_server_key_exchange(SSL *s)
SSLerr(SSL_F_SSL3_SEND_SERVER_KEY_EXCHANGE,SSL_R_ERROR_GENERATING_TMP_RSA_KEY);
goto f_err;
}
- RSA_up(rsa);
+ RSA_up_ref(rsa);
cert->rsa_tmp=rsa;
}
if (rsa == NULL)
diff --git a/ssl/ssl_cert.c b/ssl/ssl_cert.c
index fcd6ff90b6..6895f62166 100644
--- a/ssl/ssl_cert.c
+++ b/ssl/ssl_cert.c
@@ -190,7 +190,7 @@ CERT *ssl_cert_dup(CERT *cert)
#ifndef OPENSSL_NO_RSA
if (cert->rsa_tmp != NULL)
{
- RSA_up(cert->rsa_tmp);
+ RSA_up_ref(cert->rsa_tmp);
ret->rsa_tmp = cert->rsa_tmp;
}
ret->rsa_tmp_cb = cert->rsa_tmp_cb;
diff --git a/ssl/ssl_rsa.c b/ssl/ssl_rsa.c
index e6d7f386b4..b15dd506c9 100644
--- a/ssl/ssl_rsa.c
+++ b/ssl/ssl_rsa.c
@@ -170,7 +170,7 @@ int SSL_use_RSAPrivateKey(SSL *ssl, RSA *rsa)
return(0);
}
- RSA_up(rsa);
+ RSA_up_ref(rsa);
EVP_PKEY_assign_RSA(pkey,rsa);
ret=ssl_set_pkey(ssl->cert,pkey);
@@ -582,7 +582,7 @@ int SSL_CTX_use_RSAPrivateKey(SSL_CTX *ctx, RSA *rsa)
return(0);
}
- RSA_up(rsa);
+ RSA_up_ref(rsa);
EVP_PKEY_assign_RSA(pkey,rsa);
ret=ssl_set_pkey(ctx->cert, pkey);