diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2019-07-14 03:30:47 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2019-07-14 03:30:47 +0000 |
commit | 710a1d98b412e1a7a85ed4d862410ad9aa6ad606 (patch) | |
tree | 6a0136f318e5f5aaa40ee71ed3dc873b0ac07431 /usr.bin/openssl/gendh.c | |
parent | fb321793852ddce7dce4a0b3ad37e739e0aaf420 (diff) |
Mark the initialized struct options arrays as both static and const.
This moves them from .data to .data.rel.ro
ok deraadt@ inoguchi@
Diffstat (limited to 'usr.bin/openssl/gendh.c')
-rw-r--r-- | usr.bin/openssl/gendh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/openssl/gendh.c b/usr.bin/openssl/gendh.c index 18ff504e446..facc9248f3a 100644 --- a/usr.bin/openssl/gendh.c +++ b/usr.bin/openssl/gendh.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gendh.c,v 1.10 2018/02/07 05:47:55 jsing Exp $ */ +/* $OpenBSD: gendh.c,v 1.11 2019/07/14 03:30:45 guenther Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -91,7 +91,7 @@ static struct { char *outfile; } gendh_config; -static struct option gendh_options[] = { +static const struct option gendh_options[] = { { .name = "2", .desc = "Generate DH parameters with a generator value of 2 " |