Deal with the consequences of constifying getters
[openssl.git] / apps / rsa.c
index 3a1195f566c64b4616a04253e44abe74898ff8ce..63e88e6762f23cc17bfba81c2b597b0b0833ad3d 100644 (file)
@@ -214,7 +214,7 @@ int rsa_main(int argc, char **argv)
     }
 
     if (modulus) {
-        BIGNUM *n;
+        const BIGNUM *n;
         RSA_get0_key(rsa, &n, NULL, NULL);
         BIO_printf(out, "Modulus=");
         BN_print(out, n);