Declare the static BIGNUM "BN_value_one()" more carefully.
This commit is contained in:
parent
b74cc0776b
commit
34066d741a
@ -131,7 +131,7 @@ int BN_get_params(int which)
|
|||||||
const BIGNUM *BN_value_one(void)
|
const BIGNUM *BN_value_one(void)
|
||||||
{
|
{
|
||||||
static BN_ULONG data_one=1L;
|
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);
|
return(&const_one);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user