summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_gcd.c
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>1999-06-04 22:23:10 +0000
committerBen Laurie <ben@openssl.org>1999-06-04 22:23:10 +0000
commit84c15db551ce1d167b901a3bde2b21880b084384 (patch)
tree77daf2efeb616ef657009c821046a6bd756e0c54 /crypto/bn/bn_gcd.c
parentca570cfdbcaf35ba7e2554fd18eda8cfab2176e4 (diff)
Some constification and stacks that slipped through the cracks (how?).
Diffstat (limited to 'crypto/bn/bn_gcd.c')
-rw-r--r--crypto/bn/bn_gcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bn/bn_gcd.c b/crypto/bn/bn_gcd.c
index 6aac204433..64a76f4498 100644
--- a/crypto/bn/bn_gcd.c
+++ b/crypto/bn/bn_gcd.c
@@ -140,7 +140,7 @@ err:
}
/* solves ax == 1 (mod n) */
-BIGNUM *BN_mod_inverse(BIGNUM *in, BIGNUM *a, BIGNUM *n, BN_CTX *ctx)
+BIGNUM *BN_mod_inverse(BIGNUM *in, BIGNUM *a, const BIGNUM *n, BN_CTX *ctx)
{
BIGNUM *A,*B,*X,*Y,*M,*D,*R;
BIGNUM *T,*ret=NULL;