aboutsummaryrefslogtreecommitdiffstats
path: root/apps/rsa.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-06-14 15:49:05 +0200
committerRichard Levitte <levitte@openssl.org>2016-06-15 20:09:27 +0200
commit2ac6115d9ee35308300b82d96078d03d81e7d320 (patch)
treed9c9c2af38b0b55f39dd418fa41650b102077971 /apps/rsa.c
parentfd809cfdbd6e32b6b67b68c59f6d55fbed7a9327 (diff)
downloadopenssl-2ac6115d9ee35308300b82d96078d03d81e7d320.tar.gz
Deal with the consequences of constifying getters
Reviewed-by: Stephen Henson <steve@openssl.org> Reviewed-by: Emilia Käsper <emilia@openssl.org>
Diffstat (limited to 'apps/rsa.c')
-rw-r--r--apps/rsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/rsa.c b/apps/rsa.c
index 3a1195f566..63e88e6762 100644
--- a/apps/rsa.c
+++ b/apps/rsa.c
@@ -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);