diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/bn/bn_blind.c | 5 |
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)) |