From e071649319e601b727c82ed73de79a003de750fa Mon Sep 17 00:00:00 2001 From: bcook Date: Tue, 21 Feb 2023 12:20:22 +0000 Subject: [PATCH] remove extra argument ok tb@ --- lib/libcrypto/bn/bn_mont.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libcrypto/bn/bn_mont.c b/lib/libcrypto/bn/bn_mont.c index 53ad5aac636..a54355ca374 100644 --- a/lib/libcrypto/bn/bn_mont.c +++ b/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; -- 2.20.1