summaryrefslogtreecommitdiffstats
path: root/test/constant_time_test.c
diff options
context:
space:
mode:
authorx2018 <xkernel.wang@foxmail.com>2021-10-26 15:16:18 +0800
committerPauli <pauli@openssl.org>2021-10-28 13:10:46 +1000
commit1287dabd0b23326be491125698dd982e4ae28887 (patch)
tree3d6a62803bdd3d8ca9378eda3e7316a9c995c001 /test/constant_time_test.c
parent01451721afebabd0b7bdcd4cb3a183c9b590d266 (diff)
fix some code with obvious wrong coding style
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/16918)
Diffstat (limited to 'test/constant_time_test.c')
-rw-r--r--test/constant_time_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/constant_time_test.c b/test/constant_time_test.c
index 044100b14a..ad54dbef45 100644
--- a/test/constant_time_test.c
+++ b/test/constant_time_test.c
@@ -85,9 +85,9 @@ static int test_binary_op_s(size_t (*op) (size_t a, size_t b),
const char *op_name, size_t a, size_t b,
int is_true)
{
- if (is_true && !TEST_size_t_eq(op(a,b), CONSTTIME_TRUE_S))
+ if (is_true && !TEST_size_t_eq(op(a, b), CONSTTIME_TRUE_S))
return 0;
- if (!is_true && !TEST_uint_eq(op(a,b), CONSTTIME_FALSE_S))
+ if (!is_true && !TEST_uint_eq(op(a, b), CONSTTIME_FALSE_S))
return 0;
return 1;
}