Constify the BIGNUM routines a bit more. The only trouble were the
[openssl.git] / crypto / bn / bn_gcd.c
index 398207196be841403cc5c2b3caf36e9c7cb8e9a4..61c431fc7b4d1864d3df2cae482cf8ec018a8adb 100644 (file)
@@ -144,7 +144,8 @@ err:
        }
 
 /* solves ax == 1 (mod n) */
        }
 
 /* solves ax == 1 (mod n) */
-BIGNUM *BN_mod_inverse(BIGNUM *in, BIGNUM *a, const BIGNUM *n, BN_CTX *ctx)
+BIGNUM *BN_mod_inverse(BIGNUM *in,
+       const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx)
        {
        BIGNUM *A,*B,*X,*Y,*M,*D,*R=NULL;
        BIGNUM *T,*ret=NULL;
        {
        BIGNUM *A,*B,*X,*Y,*M,*D,*R=NULL;
        BIGNUM *T,*ret=NULL;