From bc8d7db132e8ba050dd6707a72cea5d3b6976e03 Mon Sep 17 00:00:00 2001 From: guenther <> Date: Sun, 14 Jul 2019 03:30:46 +0000 Subject: Mark the initialized struct options arrays as both static and const. This moves them from .data to .data.rel.ro ok deraadt@ inoguchi@ --- src/usr.bin/openssl/certhash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/usr.bin/openssl/certhash.c') diff --git a/src/usr.bin/openssl/certhash.c b/src/usr.bin/openssl/certhash.c index 5838f0209b..5125380413 100644 --- a/src/usr.bin/openssl/certhash.c +++ b/src/usr.bin/openssl/certhash.c @@ -37,7 +37,7 @@ static struct { int verbose; } certhash_config; -struct option certhash_options[] = { +static const struct option certhash_options[] = { { .name = "n", .desc = "Perform a dry-run - do not make any changes", -- cgit v1.2.3-55-g6feb