From: FdaSilvaYY Date: Sat, 20 Feb 2021 23:04:07 +0000 (+0100) Subject: Fix '--strict-warnings' build breakage X-Git-Tag: openssl-3.3.2~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef4df981aecfc6c3cdc1585a1c07b199db711ec1;p=thirdparty%2Fopenssl.git Fix '--strict-warnings' build breakage ... due to a missing const. Reviewed-by: Tom Cosgrove Reviewed-by: Paul Dale Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/25111) --- diff --git a/include/crypto/bn.h b/include/crypto/bn.h index 9a988a467de..302f031c2ff 100644 --- a/include/crypto/bn.h +++ b/include/crypto/bn.h @@ -88,7 +88,7 @@ int bn_rshift_fixed_top(BIGNUM *r, const BIGNUM *a, int n); int bn_div_fixed_top(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx); int ossl_bn_mask_bits_fixed_top(BIGNUM *a, int n); -int ossl_bn_is_word_fixed_top(const BIGNUM *a, BN_ULONG w); +int ossl_bn_is_word_fixed_top(const BIGNUM *a, const BN_ULONG w); int ossl_bn_priv_rand_range_fixed_top(BIGNUM *r, const BIGNUM *range, unsigned int strength, BN_CTX *ctx); int ossl_bn_gen_dsa_nonce_fixed_top(BIGNUM *out, const BIGNUM *range,