From 95e0708389805cb1b16c1ce58b7f070258d316cd Mon Sep 17 00:00:00 2001 From: tb <> Date: Wed, 9 Aug 2023 09:09:24 +0000 Subject: Merge BN_BLINDING_create_param() into BN_BLINDING_new() --- src/lib/libcrypto/rsa/rsa_crpt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/libcrypto/rsa/rsa_crpt.c') diff --git a/src/lib/libcrypto/rsa/rsa_crpt.c b/src/lib/libcrypto/rsa/rsa_crpt.c index 99086735ea..4739b76240 100644 --- a/src/lib/libcrypto/rsa/rsa_crpt.c +++ b/src/lib/libcrypto/rsa/rsa_crpt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rsa_crpt.c,v 1.25 2023/08/08 15:18:24 tb Exp $ */ +/* $OpenBSD: rsa_crpt.c,v 1.26 2023/08/09 09:09:24 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -209,7 +209,7 @@ RSA_setup_blinding(RSA *rsa, BN_CTX *in_ctx) BN_init(&n); BN_with_flags(&n, rsa->n, BN_FLG_CONSTTIME); - if ((ret = BN_BLINDING_create_param(e, &n, ctx, rsa->meth->bn_mod_exp, + if ((ret = BN_BLINDING_new(e, &n, ctx, rsa->meth->bn_mod_exp, rsa->_method_mod_n)) == NULL) { RSAerror(ERR_R_BN_LIB); goto err; -- cgit v1.2.3-55-g6feb