summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeoff Thorpe <geoff@openssl.org>2003-12-01 23:13:17 +0000
committerGeoff Thorpe <geoff@openssl.org>2003-12-01 23:13:17 +0000
commit34066d741a7d24bb73931197d72a7264827325f4 (patch)
tree005e4c64d4358bdf70263c7a00eb83d622a0ea82
parentb74cc0776b97a55f9a17c67d43d694211f734c75 (diff)
Declare the static BIGNUM "BN_value_one()" more carefully.
-rw-r--r--crypto/bn/bn_lib.c2
1 files changed, 1 insertions, 1 deletions
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);
}