use ERR_peek_last_error() instead of ERR_peek_error() to ignore
[openssl.git] / crypto / bn / bn_lib.c
index e37b85bfc549c63631c08041e1939e290ce27e1c..a016cb7f5379776658357367bd86d5383e297392 100644 (file)
@@ -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};