diff options
author | Richard Levitte <levitte@openssl.org> | 2016-06-14 15:49:05 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-06-15 20:09:27 +0200 |
commit | 2ac6115d9ee35308300b82d96078d03d81e7d320 (patch) | |
tree | d9c9c2af38b0b55f39dd418fa41650b102077971 /apps/dhparam.c | |
parent | fd809cfdbd6e32b6b67b68c59f6d55fbed7a9327 (diff) | |
download | openssl-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/dhparam.c')
-rw-r--r-- | apps/dhparam.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dhparam.c b/apps/dhparam.c index f86e315599..ab2e787f76 100644 --- a/apps/dhparam.c +++ b/apps/dhparam.c @@ -298,7 +298,7 @@ int dhparam_main(int argc, char **argv) if (C) { unsigned char *data; int len, bits; - BIGNUM *pbn, *gbn; + const BIGNUM *pbn, *gbn; len = DH_size(dh); bits = DH_bits(dh); @@ -337,7 +337,7 @@ int dhparam_main(int argc, char **argv) } if (!noout) { - BIGNUM *q; + const BIGNUM *q; DH_get0_pqg(dh, NULL, &q, NULL); if (outformat == FORMAT_ASN1) i = i2d_DHparams_bio(out, dh); |