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/dh.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/dh.c')
-rw-r--r-- | usr.bin/openssl/dh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/openssl/dh.c b/usr.bin/openssl/dh.c index 827ca9c7eac..9557d15a3f4 100644 --- a/usr.bin/openssl/dh.c +++ b/usr.bin/openssl/dh.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dh.c,v 1.11 2018/02/07 05:47:55 jsing Exp $ */ +/* $OpenBSD: dh.c,v 1.12 2019/07/14 03:30:45 guenther Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -85,7 +85,7 @@ static struct { int text; } dh_config; -static struct option dh_options[] = { +static const struct option dh_options[] = { { .name = "C", .desc = "Convert DH parameters into C code", |