Declare the static BIGNUM "BN_value_one()" more carefully.
diff --git a/crypto/bn/bn_lib.c b/crypto/bn/bn_lib.c index b499292..3ecf83d 100644 --- a/crypto/bn/bn_lib.c +++ b/crypto/bn/bn_lib.c
@@ -131,7 +131,7 @@ 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); }