diff options
author | guenther <> | 2019-07-14 03:30:46 +0000 |
---|---|---|
committer | guenther <> | 2019-07-14 03:30:46 +0000 |
commit | ce9daaa0080f6ec467441aa485eb3f11ad6fb74a (patch) | |
tree | 5082b2b4a1bbd244a864f580178d406f6a694e72 /src/usr.bin/openssl/nseq.c | |
parent | e9ef26d0b799866960d5d8ea8c87d53cea6b50ff (diff) | |
download | openbsd-ce9daaa0080f6ec467441aa485eb3f11ad6fb74a.tar.gz openbsd-ce9daaa0080f6ec467441aa485eb3f11ad6fb74a.tar.bz2 openbsd-ce9daaa0080f6ec467441aa485eb3f11ad6fb74a.zip |
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 'src/usr.bin/openssl/nseq.c')
-rw-r--r-- | src/usr.bin/openssl/nseq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/nseq.c b/src/usr.bin/openssl/nseq.c index d50bace12f..516bde34d2 100644 --- a/src/usr.bin/openssl/nseq.c +++ b/src/usr.bin/openssl/nseq.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: nseq.c,v 1.8 2018/02/07 05:47:55 jsing Exp $ */ | 1 | /* $OpenBSD: nseq.c,v 1.9 2019/07/14 03:30:46 guenther Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999. | 3 | * project 1999. |
4 | */ | 4 | */ |
@@ -70,7 +70,7 @@ static struct { | |||
70 | int toseq; | 70 | int toseq; |
71 | } nseq_config; | 71 | } nseq_config; |
72 | 72 | ||
73 | static struct option nseq_options[] = { | 73 | static const struct option nseq_options[] = { |
74 | { | 74 | { |
75 | .name = "in", | 75 | .name = "in", |
76 | .argname = "file", | 76 | .argname = "file", |