From c9338745181f31ae01336081edfdb738c0b76d5f Mon Sep 17 00:00:00 2001 From: tb <> Date: Fri, 26 Dec 2025 18:49:13 +0000 Subject: Use group method on point_{set_to,is_at}_infinity() All other public APIs call group->meth->... not point->meth->... --- src/lib/libcrypto/ec/ec_lib.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/lib/libcrypto/ec/ec_lib.c b/src/lib/libcrypto/ec/ec_lib.c index dc8800dff2..30b2cf95b8 100644 --- a/src/lib/libcrypto/ec/ec_lib.c +++ b/src/lib/libcrypto/ec/ec_lib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ec_lib.c,v 1.130 2025/12/26 18:45:42 tb Exp $ */ +/* $OpenBSD: ec_lib.c,v 1.131 2025/12/26 18:49:13 tb Exp $ */ /* * Originally written by Bodo Moeller for the OpenSSL project. */ @@ -915,7 +915,7 @@ EC_POINT_set_to_infinity(const EC_GROUP *group, EC_POINT *point) ECerror(EC_R_INCOMPATIBLE_OBJECTS); return 0; } - return point->meth->point_set_to_infinity(group, point); + return group->meth->point_set_to_infinity(group, point); } LCRYPTO_ALIAS(EC_POINT_set_to_infinity); @@ -1219,7 +1219,7 @@ EC_POINT_is_at_infinity(const EC_GROUP *group, const EC_POINT *point) ECerror(EC_R_INCOMPATIBLE_OBJECTS); return 0; } - return point->meth->point_is_at_infinity(group, point); + return group->meth->point_is_at_infinity(group, point); } LCRYPTO_ALIAS(EC_POINT_is_at_infinity); -- cgit v1.2.3-55-g6feb