diff options
| author | jsing <> | 2023-03-11 14:02:26 +0000 | 
|---|---|---|
| committer | jsing <> | 2023-03-11 14:02:26 +0000 | 
| commit | 2a954232ec5e12d1b069305badf158243cde4e1c (patch) | |
| tree | f0472b2d14d246c451dac4b5e1328f0e8b6df695 /src | |
| parent | fade9f4f04b548ca781e7f632f1d2cbed088db59 (diff) | |
| download | openbsd-2a954232ec5e12d1b069305badf158243cde4e1c.tar.gz openbsd-2a954232ec5e12d1b069305badf158243cde4e1c.tar.bz2 openbsd-2a954232ec5e12d1b069305badf158243cde4e1c.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, | 
