From 17db9b10042a8473e677a61335a657a7784d9b38 Mon Sep 17 00:00:00 2001 From: tb Date: Wed, 29 Mar 2023 06:53:49 +0000 Subject: [PATCH] Use more consistent names for the main test functions --- regress/lib/libcrypto/bn/bn_mod_exp.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/regress/lib/libcrypto/bn/bn_mod_exp.c b/regress/lib/libcrypto/bn/bn_mod_exp.c index 0d3767b07ed..f5b8f7dab53 100644 --- a/regress/lib/libcrypto/bn/bn_mod_exp.c +++ b/regress/lib/libcrypto/bn/bn_mod_exp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bn_mod_exp.c,v 1.29 2023/03/29 06:50:51 tb Exp $ */ +/* $OpenBSD: bn_mod_exp.c,v 1.30 2023/03/29 06:53:49 tb Exp $ */ /* * Copyright (c) 2022,2023 Theo Buehler @@ -169,7 +169,7 @@ bn_mod_exp_zero_word_test(BN_CTX *ctx) } static int -run_bn_mod_exp_zero_tests(void) +test_bn_mod_exp_zero(void) { BN_CTX *ctx; size_t i; @@ -399,7 +399,7 @@ bn_mod_exp_test(int reduce, BIGNUM *want, BIGNUM *a, BIGNUM *p, BIGNUM *m, } static int -run_bn_mod_exp_tests(void) +test_bn_mod_exp(void) { BIGNUM *a, *p, *m, *want; BN_CTX *ctx; @@ -520,7 +520,7 @@ bn_mod_exp2_test(int reduce, BIGNUM *want, BIGNUM *got, BIGNUM *a, BIGNUM *p, } static int -run_bn_mod_exp2_tests(void) +test_bn_mod_exp2(void) { BIGNUM *a, *p, *b, *q, *m, *want, *got; BN_CTX *ctx; @@ -591,9 +591,9 @@ main(void) { int failed = 0; - failed |= run_bn_mod_exp_zero_tests(); - failed |= run_bn_mod_exp_tests(); - failed |= run_bn_mod_exp2_tests(); + failed |= test_bn_mod_exp_zero(); + failed |= test_bn_mod_exp(); + failed |= test_bn_mod_exp2(); failed |= test_bn_mod_exp2_mont_crash(); return failed; -- 2.20.1