From: Geoff Thorpe Date: Mon, 1 Dec 2003 23:13:17 +0000 (+0000) Subject: Declare the static BIGNUM "BN_value_one()" more carefully. X-Git-Tag: BEN_FIPS_TEST_5~13^2~25 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=34066d741a7d24bb73931197d72a7264827325f4;p=oweals%2Fopenssl.git Declare the static BIGNUM "BN_value_one()" more carefully. --- diff --git a/crypto/bn/bn_lib.c b/crypto/bn/bn_lib.c index b499292884..3ecf83ddf2 100644 --- a/crypto/bn/bn_lib.c +++ b/crypto/bn/bn_lib.c @@ -131,7 +131,7 @@ int BN_get_params(int which) const BIGNUM *BN_value_one(void) { static BN_ULONG data_one=1L; - static BIGNUM const_one={&data_one,1,1,0}; + static BIGNUM const_one={&data_one,1,1,0,BN_FLG_STATIC_DATA}; return(&const_one); }