]> granicus.if.org Git - openssl/commitdiff
Declare the static BIGNUM "BN_value_one()" more carefully.
authorGeoff Thorpe <geoff@openssl.org>
Mon, 1 Dec 2003 23:13:17 +0000 (23:13 +0000)
committerGeoff Thorpe <geoff@openssl.org>
Mon, 1 Dec 2003 23:13:17 +0000 (23:13 +0000)
crypto/bn/bn_lib.c

index b499292884ad6b51f9744a4ac1d27880be2f0d5d..3ecf83ddf28447a538835d79288aa664178efcad 100644 (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);
        }