summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_mpi.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2000-11-16 22:43:32 +0000
committerRichard Levitte <levitte@openssl.org>2000-11-16 22:43:32 +0000
commitcbd48ba626845170ee2b70774e881a4b50a7369d (patch)
tree946ca57aacaadcdbe4a543695653a73dc9bedd40 /crypto/bn/bn_mpi.c
parent67d93e6f49db9029708142ebbaa7bd7084e4468a (diff)
More constification of the BN library.
Diffstat (limited to 'crypto/bn/bn_mpi.c')
-rw-r--r--crypto/bn/bn_mpi.c2
1 files changed, 1 insertions, 1 deletions
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;