diff options
author | Bodo Möller <bodo@openssl.org> | 2001-09-03 15:40:07 +0200 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2001-09-03 15:40:07 +0200 |
commit | 6ac4e8bd6ecff6d11ff3cd08e88356e7a2239329 (patch) | |
tree | 1514825fe21c96f6c0d471402059f549eadec7ee /ssl | |
parent | Use uniformly chosen witnesses for Miller-Rabin test (diff) | |
download | openssl-6ac4e8bd6ecff6d11ff3cd08e88356e7a2239329.tar.xz openssl-6ac4e8bd6ecff6d11ff3cd08e88356e7a2239329.zip |
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.c | 2 | ||||
-rw-r--r-- | ssl/ssl_cert.c | 2 | ||||
-rw-r--r-- | ssl/ssl_rsa.c | 4 |
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); |