diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2022-07-15 06:10:01 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2022-07-15 06:10:01 +0000 |
commit | cf1886f44bcb8b4fabb2eee8236797e8be74af83 (patch) | |
tree | 18e38eac0a4d179e5594b0dee961018c69305956 | |
parent | a1d7f2844ce4069e77bdd94f5302407d271174dd (diff) |
Rename is_perfect_square to out_perfect in prototype to match
the code in bn_isqrt.c.
-rw-r--r-- | lib/libcrypto/bn/bn_lcl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/bn/bn_lcl.h b/lib/libcrypto/bn/bn_lcl.h index e1f80f5c4d2..95dc3baac56 100644 --- a/lib/libcrypto/bn/bn_lcl.h +++ b/lib/libcrypto/bn/bn_lcl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bn_lcl.h,v 1.34 2022/07/13 06:32:15 tb Exp $ */ +/* $OpenBSD: bn_lcl.h,v 1.35 2022/07/15 06:10:00 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -657,7 +657,7 @@ int BN_gcd_nonct(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx); int BN_swap_ct(BN_ULONG swap, BIGNUM *a, BIGNUM *b, size_t nwords); int bn_isqrt(BIGNUM *out_sqrt, int *out_perfect, const BIGNUM *n, BN_CTX *ctx); -int bn_is_perfect_square(int *is_perfect_square, const BIGNUM *n, BN_CTX *ctx); +int bn_is_perfect_square(int *out_perfect, const BIGNUM *n, BN_CTX *ctx); int bn_is_prime_bpsw(int *is_prime, const BIGNUM *n, BN_CTX *in_ctx); |