diff options
-rw-r--r-- | src/regress/lib/libcrypto/ec/ec_asn1_test.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/regress/lib/libcrypto/ec/ec_asn1_test.c b/src/regress/lib/libcrypto/ec/ec_asn1_test.c index 74a2d92eb1..e8758ee259 100644 --- a/src/regress/lib/libcrypto/ec/ec_asn1_test.c +++ b/src/regress/lib/libcrypto/ec/ec_asn1_test.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ec_asn1_test.c,v 1.28 2024/11/05 09:14:25 tb Exp $ */ | 1 | /* $OpenBSD: ec_asn1_test.c,v 1.29 2024/11/08 12:35:26 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2017, 2021 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2017, 2021 Joel Sing <jsing@openbsd.org> |
4 | * Copyright (c) 2024 Theo Buehler <tb@openbsd.org> | 4 | * 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 | |||
2785 | 2785 | ||
2786 | if ((point_bn = BN_new()) == NULL) | 2786 | if ((point_bn = BN_new()) == NULL) |
2787 | err(1, "BN_new()"); | 2787 | err(1, "BN_new()"); |
2788 | if ((EC_POINT_point2bn(group, ec_public_point, | 2788 | if (EC_POINT_point2bn(group, ec_public_point, |
2789 | POINT_CONVERSION_UNCOMPRESSED, point_bn, NULL)) == NULL) { | 2789 | POINT_CONVERSION_UNCOMPRESSED, point_bn, NULL) == NULL) { |
2790 | fprintf(stderr, "FAIL: EC_POINT_point2bn() for %s\n", key->name); | 2790 | fprintf(stderr, "FAIL: EC_POINT_point2bn() for %s\n", key->name); |
2791 | goto err; | 2791 | goto err; |
2792 | } | 2792 | } |
2793 | 2793 | ||
2794 | if ((BN_hex2bn(&hex_bn, key->hex)) == 0) { | 2794 | if (BN_hex2bn(&hex_bn, key->hex) == 0) { |
2795 | fprintf(stderr, "FAIL: BN_hex2bn() for %s\n", key->name); | 2795 | fprintf(stderr, "FAIL: BN_hex2bn() for %s\n", key->name); |
2796 | goto err; | 2796 | goto err; |
2797 | } | 2797 | } |