From e6c4e80b10084fa00d7af2efb6ee1b1eec39f590 Mon Sep 17 00:00:00 2001 From: bcook <> Date: Tue, 21 Feb 2023 12:20:22 +0000 Subject: remove extra argument ok tb@ --- src/lib/libcrypto/bn/bn_mont.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib') diff --git a/src/lib/libcrypto/bn/bn_mont.c b/src/lib/libcrypto/bn/bn_mont.c index 53ad5aac63..a54355ca37 100644 --- a/src/lib/libcrypto/bn/bn_mont.c +++ b/src/lib/libcrypto/bn/bn_mont.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bn_mont.c,v 1.43 2023/02/21 05:58:08 jsing Exp $ */ +/* $OpenBSD: bn_mont.c,v 1.44 2023/02/21 12:20:22 bcook Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -336,7 +336,7 @@ bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, BN_ULONG c0, c1, *tp, n0 = *n0p; int i = 0, j; - tp = calloc(NULL, num + 2, sizeof(BN_ULONG)); + tp = calloc(num + 2, sizeof(BN_ULONG)); if (tp == NULL) return 0; -- cgit v1.2.3-55-g6feb