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