From ce9daaa0080f6ec467441aa485eb3f11ad6fb74a 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/ciphers.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/usr.bin/openssl/ciphers.c') diff --git a/src/usr.bin/openssl/ciphers.c b/src/usr.bin/openssl/ciphers.c index 2b8ad5ba85..a20f19c3af 100644 --- a/src/usr.bin/openssl/ciphers.c +++ b/src/usr.bin/openssl/ciphers.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ciphers.c,v 1.9 2018/02/07 05:47:55 jsing Exp $ */ +/* $OpenBSD: ciphers.c,v 1.10 2019/07/14 03:30:45 guenther Exp $ */ /* * Copyright (c) 2014 Joel Sing * @@ -29,7 +29,7 @@ struct { int verbose; } ciphers_config; -struct option ciphers_options[] = { +static const struct option ciphers_options[] = { { .name = "h", .type = OPTION_FLAG, -- cgit v1.2.3-55-g6feb