More constification of the BN library.
[oweals/openssl.git] / crypto / bn / bn_mpi.c
index 80e1dca6b73430371caea39456d1b0381c78b2b0..05fa9d1e9a5c578c3cfee1f2d35f5c854ab29669 100644 (file)
@@ -88,7 +88,7 @@ int BN_bn2mpi(const BIGNUM *a, unsigned char *d)
        return(num+4+ext);
        }
 
-BIGNUM *BN_mpi2bn(unsigned char *d, int n, BIGNUM *a)
+BIGNUM *BN_mpi2bn(const unsigned char *d, int n, BIGNUM *a)
        {
        long len;
        int neg=0;