From cbd48ba626845170ee2b70774e881a4b50a7369d Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 16 Nov 2000 22:43:32 +0000 Subject: More constification of the BN library. --- crypto/bn/bn_mpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/bn/bn_mpi.c') diff --git a/crypto/bn/bn_mpi.c b/crypto/bn/bn_mpi.c index 80e1dca6b7..05fa9d1e9a 100644 --- a/crypto/bn/bn_mpi.c +++ b/crypto/bn/bn_mpi.c @@ -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; -- cgit v1.2.3