summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libcrypto/ec/ec_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/ec/ec_lib.c b/src/lib/libcrypto/ec/ec_lib.c
index 30b2cf95b8..fc66d29a9f 100644
--- a/src/lib/libcrypto/ec/ec_lib.c
+++ b/src/lib/libcrypto/ec/ec_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ec_lib.c,v 1.131 2025/12/26 18:49:13 tb Exp $ */ 1/* $OpenBSD: ec_lib.c,v 1.132 2026/06/09 05:23:30 tb Exp $ */
2/* 2/*
3 * Originally written by Bodo Moeller for the OpenSSL project. 3 * Originally written by Bodo Moeller for the OpenSSL project.
4 */ 4 */
@@ -972,7 +972,7 @@ EC_POINT_get_affine_coordinates(const EC_GROUP *group, const EC_POINT *point,
972 BN_CTX *ctx = NULL; 972 BN_CTX *ctx = NULL;
973 int ret = 0; 973 int ret = 0;
974 974
975 if (EC_POINT_is_at_infinity(group, point) > 0) { 975 if (EC_POINT_is_at_infinity(group, point)) {
976 ECerror(EC_R_POINT_AT_INFINITY); 976 ECerror(EC_R_POINT_AT_INFINITY);
977 goto err; 977 goto err;
978 } 978 }