From 8fff8962f12afe62c2f8c9ed15a1a85e477ff65d Mon Sep 17 00:00:00 2001 From: jsing <> Date: Sat, 11 Mar 2023 14:02:26 +0000 Subject: Mark test table as static const. --- src/regress/lib/libcrypto/bn/bn_shift.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/regress/lib/libcrypto/bn/bn_shift.c b/src/regress/lib/libcrypto/bn/bn_shift.c index 88d0e65cba..5d11471771 100644 --- a/src/regress/lib/libcrypto/bn/bn_shift.c +++ b/src/regress/lib/libcrypto/bn/bn_shift.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bn_shift.c,v 1.8 2023/02/13 04:00:39 jsing Exp $ */ +/* $OpenBSD: bn_shift.c,v 1.9 2023/03/11 14:02:26 jsing Exp $ */ /* * Copyright (c) 2022 Joel Sing * @@ -512,7 +512,7 @@ struct benchmark { void (*func)(BIGNUM *); }; -struct benchmark benchmarks[] = { +static const struct benchmark benchmarks[] = { { .desc = "BN_lshift1()", .func = benchmark_bn_lshift1, -- cgit v1.2.3-55-g6feb