diff options
Diffstat (limited to 'src/lib/libcrypto/bn/bn_kron.c')
| -rw-r--r-- | src/lib/libcrypto/bn/bn_kron.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/bn/bn_kron.c b/src/lib/libcrypto/bn/bn_kron.c index cbd79f0455..f48823acab 100644 --- a/src/lib/libcrypto/bn/bn_kron.c +++ b/src/lib/libcrypto/bn/bn_kron.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: bn_kron.c,v 1.13 2023/03/25 10:51:18 tb Exp $ */ | 1 | /* $OpenBSD: bn_kron.c,v 1.14 2023/03/27 10:21:23 tb Exp $ */ |
| 2 | /* ==================================================================== | 2 | /* ==================================================================== |
| 3 | * Copyright (c) 1998-2000 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1998-2000 The OpenSSL Project. All rights reserved. |
| 4 | * | 4 | * |
| @@ -78,9 +78,9 @@ BN_kronecker(const BIGNUM *A, const BIGNUM *B, BN_CTX *ctx) | |||
| 78 | if ((b = BN_CTX_get(ctx)) == NULL) | 78 | if ((b = BN_CTX_get(ctx)) == NULL) |
| 79 | goto end; | 79 | goto end; |
| 80 | 80 | ||
| 81 | if (BN_copy(a, A) == NULL) | 81 | if (!bn_copy(a, A)) |
| 82 | goto end; | 82 | goto end; |
| 83 | if (BN_copy(b, B) == NULL) | 83 | if (!bn_copy(b, B)) |
| 84 | goto end; | 84 | goto end; |
| 85 | 85 | ||
| 86 | /* | 86 | /* |
