Declare the static BIGNUM "BN_value_one()" more carefully.

This commit is contained in:
Geoff Thorpe 2003-12-01 23:13:17 +00:00
parent b74cc0776b
commit 34066d741a

View File

@ -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);
}