New functions CONF_load_bio() and CONF_load_fp() to load a configuration
[openssl.git] / crypto / bn / bn_lib.c
index ee194c55b27c955ce419cff81593ad2475143341..9c2c9d3238a4b682c1e73eab6f0788a658fa8e9a 100644 (file)
@@ -629,7 +629,7 @@ BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret)
        }
 
 /* ignore negative */
-int BN_bn2bin(BIGNUM *a, unsigned char *to)
+int BN_bn2bin(const BIGNUM *a, unsigned char *to)
        {
        int n,i;
        BN_ULONG l;