diff options
Diffstat (limited to 'src/lib/libcrypto/bn/bn_isqrt.c')
-rw-r--r-- | src/lib/libcrypto/bn/bn_isqrt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/bn/bn_isqrt.c b/src/lib/libcrypto/bn/bn_isqrt.c index ec77e1b078..4a757b02ce 100644 --- a/src/lib/libcrypto/bn/bn_isqrt.c +++ b/src/lib/libcrypto/bn/bn_isqrt.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_isqrt.c,v 1.6 2022/12/17 15:56:25 jsing Exp $ */ | 1 | /* $OpenBSD: bn_isqrt.c,v 1.7 2023/03/27 10:25:02 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2022 Theo Buehler <tb@openbsd.org> | 3 | * Copyright (c) 2022 Theo Buehler <tb@openbsd.org> |
4 | * | 4 | * |
@@ -141,7 +141,7 @@ bn_isqrt(BIGNUM *out_sqrt, int *out_perfect, const BIGNUM *n, BN_CTX *in_ctx) | |||
141 | *out_perfect = perfect; | 141 | *out_perfect = perfect; |
142 | 142 | ||
143 | if (out_sqrt != NULL) { | 143 | if (out_sqrt != NULL) { |
144 | if (!BN_copy(out_sqrt, a)) | 144 | if (!bn_copy(out_sqrt, a)) |
145 | goto err; | 145 | goto err; |
146 | } | 146 | } |
147 | 147 | ||