summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/rsa/rsa_crpt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/rsa/rsa_crpt.c')
-rw-r--r--src/lib/libcrypto/rsa/rsa_crpt.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/libcrypto/rsa/rsa_crpt.c b/src/lib/libcrypto/rsa/rsa_crpt.c
index 8063a83263..f0c925602f 100644
--- a/src/lib/libcrypto/rsa/rsa_crpt.c
+++ b/src/lib/libcrypto/rsa/rsa_crpt.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: rsa_crpt.c,v 1.17 2017/01/21 11:00:47 beck Exp $ */ 1/* $OpenBSD: rsa_crpt.c,v 1.18 2017/01/29 17:49:23 beck Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -187,8 +187,7 @@ RSA_setup_blinding(RSA *rsa, BN_CTX *in_ctx)
187 if (rsa->e == NULL) { 187 if (rsa->e == NULL) {
188 e = rsa_get_public_exp(rsa->d, rsa->p, rsa->q, ctx); 188 e = rsa_get_public_exp(rsa->d, rsa->p, rsa->q, ctx);
189 if (e == NULL) { 189 if (e == NULL) {
190 RSAerr(RSA_F_RSA_SETUP_BLINDING, 190 RSAerror(RSA_R_NO_PUBLIC_EXPONENT);
191 RSA_R_NO_PUBLIC_EXPONENT);
192 goto err; 191 goto err;
193 } 192 }
194 } else 193 } else
@@ -201,7 +200,7 @@ RSA_setup_blinding(RSA *rsa, BN_CTX *in_ctx)
201 rsa->_method_mod_n); 200 rsa->_method_mod_n);
202 201
203 if (ret == NULL) { 202 if (ret == NULL) {
204 RSAerr(RSA_F_RSA_SETUP_BLINDING, ERR_R_BN_LIB); 203 RSAerror(ERR_R_BN_LIB);
205 goto err; 204 goto err;
206 } 205 }
207 CRYPTO_THREADID_current(BN_BLINDING_thread_id(ret)); 206 CRYPTO_THREADID_current(BN_BLINDING_thread_id(ret));