From f01ccc7c36ff1a6f9eaa959f859f2fe82c336039 Mon Sep 17 00:00:00 2001 From: tb <> Date: Mon, 27 Mar 2023 10:25:02 +0000 Subject: Replace the remaining BN_copy() with bn_copy() ok jsing --- src/lib/libcrypto/dsa/dsa_ossl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib/libcrypto/dsa/dsa_ossl.c') diff --git a/src/lib/libcrypto/dsa/dsa_ossl.c b/src/lib/libcrypto/dsa/dsa_ossl.c index ece1026fc9..b69cf1a03f 100644 --- a/src/lib/libcrypto/dsa/dsa_ossl.c +++ b/src/lib/libcrypto/dsa/dsa_ossl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dsa_ossl.c,v 1.50 2023/03/04 21:30:23 tb Exp $ */ +/* $OpenBSD: dsa_ossl.c,v 1.51 2023/03/27 10:25:02 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -282,13 +282,13 @@ dsa_sign_setup(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp) * small timing information leakage. We then choose the sum that is * one bit longer than the modulus. * - * TODO: revisit the BN_copy aiming for a memory access agnostic + * TODO: revisit the bn_copy aiming for a memory access agnostic * conditional copy. */ if (!BN_add(l, k, dsa->q) || !BN_add(m, l, dsa->q) || - !BN_copy(k, BN_num_bits(l) > q_bits ? l : m)) + !bn_copy(k, BN_num_bits(l) > q_bits ? l : m)) goto err; if (dsa->meth->bn_mod_exp != NULL) { -- cgit v1.2.3-55-g6feb