From ecb95313ad208b8dea7b0dc44931d666c7bdd0e5 Mon Sep 17 00:00:00 2001 From: tb <> Date: Sun, 26 Mar 2023 18:54:08 +0000 Subject: Move the N_MOD_EXP_TESTS up to where it belongs --- src/regress/lib/libcrypto/bn/bn_mod_exp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/regress/lib/libcrypto/bn/bn_mod_exp.c b/src/regress/lib/libcrypto/bn/bn_mod_exp.c index 68e44cf9e7..6d25f11b55 100644 --- a/src/regress/lib/libcrypto/bn/bn_mod_exp.c +++ b/src/regress/lib/libcrypto/bn/bn_mod_exp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bn_mod_exp.c,v 1.17 2023/03/26 18:46:23 tb Exp $ */ +/* $OpenBSD: bn_mod_exp.c,v 1.18 2023/03/26 18:54:08 tb Exp $ */ /* * Copyright (c) 2022,2023 Theo Buehler @@ -24,6 +24,8 @@ #include "bn_local.h" +#define N_MOD_EXP_TESTS 400 + #define INIT_MOD_EXP_FN(f) { .name = #f, .mod_exp_fn = (f), } #define INIT_MOD_EXP_MONT_FN(f) { .name = #f, .mod_exp_mont_fn = (f), } @@ -196,8 +198,6 @@ run_bn_mod_exp_zero_tests(void) return failed; } -#define N_MOD_EXP_TESTS 400 - static const struct mod_exp_test { const char *name; int (*mod_exp_fn)(BIGNUM *, const BIGNUM *, const BIGNUM *, -- cgit v1.2.3-55-g6feb