summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2024-11-08 12:35:27 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2024-11-08 12:35:27 +0000
commite9808f98302863c9d69ee97622ad5c9b91d73ffe (patch)
tree8d1a1555564648aef15eb2acfaa94c2478254eb7 /regress
parent056c1e21c567c42660f2700ad62b20aa45ea9594 (diff)
ec_asn1_test: remove extra parens
Diffstat (limited to 'regress')
-rw-r--r--regress/lib/libcrypto/ec/ec_asn1_test.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/regress/lib/libcrypto/ec/ec_asn1_test.c b/regress/lib/libcrypto/ec/ec_asn1_test.c
index 74a2d92eb1d..e8758ee2590 100644
--- a/regress/lib/libcrypto/ec/ec_asn1_test.c
+++ b/regress/lib/libcrypto/ec/ec_asn1_test.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ec_asn1_test.c,v 1.28 2024/11/05 09:14:25 tb Exp $ */
+/* $OpenBSD: ec_asn1_test.c,v 1.29 2024/11/08 12:35:26 tb Exp $ */
/*
* Copyright (c) 2017, 2021 Joel Sing <jsing@openbsd.org>
* Copyright (c) 2024 Theo Buehler <tb@openbsd.org>
@@ -2785,13 +2785,13 @@ ec_key_test_point_versus_bn(const struct ec_private_key *key, const EC_KEY *ec_k
if ((point_bn = BN_new()) == NULL)
err(1, "BN_new()");
- if ((EC_POINT_point2bn(group, ec_public_point,
- POINT_CONVERSION_UNCOMPRESSED, point_bn, NULL)) == NULL) {
+ if (EC_POINT_point2bn(group, ec_public_point,
+ POINT_CONVERSION_UNCOMPRESSED, point_bn, NULL) == NULL) {
fprintf(stderr, "FAIL: EC_POINT_point2bn() for %s\n", key->name);
goto err;
}
- if ((BN_hex2bn(&hex_bn, key->hex)) == 0) {
+ if (BN_hex2bn(&hex_bn, key->hex) == 0) {
fprintf(stderr, "FAIL: BN_hex2bn() for %s\n", key->name);
goto err;
}