summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2023-08-08 15:24:02 +0000
committertb <>2023-08-08 15:24:02 +0000
commit3cec28b4cf65706420dc1d217ec2972c386f095d (patch)
tree3fb58b521dbac8e8d830ff08c7e0909eb3d8621c
parentcf64febdf3619178d65cd708a3beb81994fe5f2b (diff)
downloadopenbsd-3cec28b4cf65706420dc1d217ec2972c386f095d.tar.gz
openbsd-3cec28b4cf65706420dc1d217ec2972c386f095d.tar.bz2
openbsd-3cec28b4cf65706420dc1d217ec2972c386f095d.zip
Unwrap a line
-rw-r--r--src/lib/libcrypto/bn/bn_blind.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libcrypto/bn/bn_blind.c b/src/lib/libcrypto/bn/bn_blind.c
index f58a977bba..e9873b009e 100644
--- a/src/lib/libcrypto/bn/bn_blind.c
+++ b/src/lib/libcrypto/bn/bn_blind.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bn_blind.c,v 1.36 2023/08/08 15:18:24 tb Exp $ */ 1/* $OpenBSD: bn_blind.c,v 1.37 2023/08/08 15:24:02 tb Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved. 3 * Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved.
4 * 4 *
@@ -206,8 +206,7 @@ BN_BLINDING_setup(BN_BLINDING *b, BN_CTX *ctx)
206 } while (1); 206 } while (1);
207 207
208 if (b->bn_mod_exp != NULL && b->m_ctx != NULL) { 208 if (b->bn_mod_exp != NULL && b->m_ctx != NULL) {
209 if (!b->bn_mod_exp(b->A, b->A, b->e, b->mod, 209 if (!b->bn_mod_exp(b->A, b->A, b->e, b->mod, ctx, b->m_ctx))
210 ctx, b->m_ctx))
211 return 0; 210 return 0;
212 } else { 211 } else {
213 if (!BN_mod_exp_ct(b->A, b->A, b->e, b->mod, ctx)) 212 if (!BN_mod_exp_ct(b->A, b->A, b->e, b->mod, ctx))