Some constification and stacks that slipped through the cracks (how?).
[openssl.git] / crypto / bn / bn_gcd.c
index 6aac204433fca394b31040487a4d96ef1a7914f1..64a76f4498965b0e912eece66863edead0e46d27 100644 (file)
@@ -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;