X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fbn%2Fbn_gcd.c;h=64a76f4498965b0e912eece66863edead0e46d27;hp=6aac204433fca394b31040487a4d96ef1a7914f1;hb=84c15db551ce1d167b901a3bde2b21880b084384;hpb=ca570cfdbcaf35ba7e2554fd18eda8cfab2176e4 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;