summaryrefslogtreecommitdiffstats
path: root/apps/dsa.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/dsa.c
parentfd809cfdbd6e32b6b67b68c59f6d55fbed7a9327 (diff)
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/dsa.c')
-rw-r--r--apps/dsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dsa.c b/apps/dsa.c
index ef50fede78..6ac9a40282 100644
--- a/apps/dsa.c
+++ b/apps/dsa.c
@@ -195,7 +195,7 @@ int dsa_main(int argc, char **argv)
}
if (modulus) {
- BIGNUM *pub_key = NULL;
+ const BIGNUM *pub_key = NULL;
DSA_get0_key(dsa, &pub_key, NULL);
BIO_printf(out, "Public Key=");
BN_print(out, pub_key);