diff options
Diffstat (limited to 'src')
| -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 | ||
