Rename recently introduced functions for improved code clarity:
[DR]SA_up => [DR]SA_up_ref
diff --git a/ssl/s3_srvr.c b/ssl/s3_srvr.c
index af65e2e..4d0d800 100644
--- a/ssl/s3_srvr.c
+++ b/ssl/s3_srvr.c
@@ -982,7 +982,7 @@
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 fcd6ff9..6895f62 100644
--- a/ssl/ssl_cert.c
+++ b/ssl/ssl_cert.c
@@ -190,7 +190,7 @@
#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 e6d7f38..b15dd50 100644
--- a/ssl/ssl_rsa.c
+++ b/ssl/ssl_rsa.c
@@ -170,7 +170,7 @@
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 @@
return(0);
}
- RSA_up(rsa);
+ RSA_up_ref(rsa);
EVP_PKEY_assign_RSA(pkey,rsa);
ret=ssl_set_pkey(ctx->cert, pkey);