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/ec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/usr.bin/openssl/ec.c') diff --git a/src/usr.bin/openssl/ec.c b/src/usr.bin/openssl/ec.c index f9056154ed..3aa9b0c2c5 100644 --- a/src/usr.bin/openssl/ec.c +++ b/src/usr.bin/openssl/ec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ec.c,v 1.13 2019/02/09 15:49:21 inoguchi Exp $ */ +/* $OpenBSD: ec.c,v 1.14 2019/07/14 03:30:45 guenther Exp $ */ /* * Written by Nils Larsch for the OpenSSL project. */ @@ -140,7 +140,7 @@ ec_opt_named(char *arg) return (0); } -static struct option ec_options[] = { +static const struct option ec_options[] = { { .name = "conv_form", .argname = "form", -- cgit v1.2.3-55-g6feb