From 05c228470598f93396d464b5933530fafc42823d Mon Sep 17 00:00:00 2001 From: tb <> Date: Wed, 23 Oct 2024 15:06:46 +0000 Subject: ec_point_conversion: cosmetics --- src/regress/lib/libcrypto/ec/ec_point_conversion.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/regress/lib/libcrypto/ec/ec_point_conversion.c b/src/regress/lib/libcrypto/ec/ec_point_conversion.c index e4d390ec0b..a0b849d161 100644 --- a/src/regress/lib/libcrypto/ec/ec_point_conversion.c +++ b/src/regress/lib/libcrypto/ec/ec_point_conversion.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ec_point_conversion.c,v 1.16 2024/10/23 14:10:03 tb Exp $ */ +/* $OpenBSD: ec_point_conversion.c,v 1.17 2024/10/23 15:06:46 tb Exp $ */ /* * Copyright (c) 2021 Theo Buehler * Copyright (c) 2021 Joel Sing @@ -510,7 +510,7 @@ check_point_at_infinity(const EC_GROUP *group, const EC_POINT *point, ret = EC_POINT_point2oct(group, point, form, buf, sizeof(buf), NULL); if (ret != 0) { - fprintf(stderr, "FAIL: %s: expected encoding with form 0x%02x" + fprintf(stderr, "FAIL: %s: expected encoding with form 0x%02x " "to fail, got %zu\n", test->description, form, ret); failed |= 1; } @@ -559,9 +559,9 @@ point_conversion_form_y_bit(const struct point_conversion *test) failed |= 1; } - if (test->valid && test->point_at_infinity) + if (test->valid && test->point_at_infinity) { failed |= check_point_at_infinity(group, point, test); - else if (test->valid) { + } else if (test->valid) { uint8_t buf[256]; uint8_t form = test->octets[0] & 0x06; size_t len; -- cgit v1.2.3-55-g6feb