diff options
author | bcook <> | 2023-02-21 12:20:22 +0000 |
---|---|---|
committer | bcook <> | 2023-02-21 12:20:22 +0000 |
commit | e6c4e80b10084fa00d7af2efb6ee1b1eec39f590 (patch) | |
tree | 80977ee35bef8f80e22ed9267f9802585f46781f | |
parent | 7e646a24857aa30205c4a3160c6de9102b403aa7 (diff) | |
download | openbsd-e6c4e80b10084fa00d7af2efb6ee1b1eec39f590.tar.gz openbsd-e6c4e80b10084fa00d7af2efb6ee1b1eec39f590.tar.bz2 openbsd-e6c4e80b10084fa00d7af2efb6ee1b1eec39f590.zip |
remove extra argument
ok tb@
-rw-r--r-- | src/lib/libcrypto/bn/bn_mont.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ | |||
1 | /* $OpenBSD: bn_mont.c,v 1.43 2023/02/21 05:58:08 jsing Exp $ */ | 1 | /* $OpenBSD: bn_mont.c,v 1.44 2023/02/21 12:20:22 bcook Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -336,7 +336,7 @@ bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, | |||
336 | BN_ULONG c0, c1, *tp, n0 = *n0p; | 336 | BN_ULONG c0, c1, *tp, n0 = *n0p; |
337 | int i = 0, j; | 337 | int i = 0, j; |
338 | 338 | ||
339 | tp = calloc(NULL, num + 2, sizeof(BN_ULONG)); | 339 | tp = calloc(num + 2, sizeof(BN_ULONG)); |
340 | if (tp == NULL) | 340 | if (tp == NULL) |
341 | return 0; | 341 | return 0; |
342 | 342 | ||