summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_lib.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2001-03-08 13:58:09 +0000
committerBodo Möller <bodo@openssl.org>2001-03-08 13:58:09 +0000
commit98499135d762343c4419928359a372f6f3270b76 (patch)
tree45987fd2764edb21df1b6c7d91d46926114fc18b /crypto/bn/bn_lib.c
parent3285076c8e2ad3399ed54389dc4c6d9fe39193f6 (diff)
Constify BN_value_one.
Diffstat (limited to 'crypto/bn/bn_lib.c')
-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 e37b85bfc5..a016cb7f53 100644
--- a/crypto/bn/bn_lib.c
+++ b/crypto/bn/bn_lib.c
@@ -128,7 +128,7 @@ int BN_get_params(int which)
else return(0);
}
-BIGNUM *BN_value_one(void)
+const BIGNUM *BN_value_one(void)
{
static BN_ULONG data_one=1L;
static BIGNUM const_one={&data_one,1,1,0};