diff options
author | jsing <> | 2023-03-11 14:02:26 +0000 |
---|---|---|
committer | jsing <> | 2023-03-11 14:02:26 +0000 |
commit | 8fff8962f12afe62c2f8c9ed15a1a85e477ff65d (patch) | |
tree | f0472b2d14d246c451dac4b5e1328f0e8b6df695 /src | |
parent | f3376c2fcdc55b13539733252a1f674846433164 (diff) | |
download | openbsd-8fff8962f12afe62c2f8c9ed15a1a85e477ff65d.tar.gz openbsd-8fff8962f12afe62c2f8c9ed15a1a85e477ff65d.tar.bz2 openbsd-8fff8962f12afe62c2f8c9ed15a1a85e477ff65d.zip |
Mark test table as static const.
Diffstat (limited to 'src')
-rw-r--r-- | src/regress/lib/libcrypto/bn/bn_shift.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ | |||
1 | /* $OpenBSD: bn_shift.c,v 1.8 2023/02/13 04:00:39 jsing Exp $ */ | 1 | /* $OpenBSD: bn_shift.c,v 1.9 2023/03/11 14:02:26 jsing Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2022 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2022 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -512,7 +512,7 @@ struct benchmark { | |||
512 | void (*func)(BIGNUM *); | 512 | void (*func)(BIGNUM *); |
513 | }; | 513 | }; |
514 | 514 | ||
515 | struct benchmark benchmarks[] = { | 515 | static const struct benchmark benchmarks[] = { |
516 | { | 516 | { |
517 | .desc = "BN_lshift1()", | 517 | .desc = "BN_lshift1()", |
518 | .func = benchmark_bn_lshift1, | 518 | .func = benchmark_bn_lshift1, |