summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec/ec_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/ec/ec_lib.c')
-rw-r--r--src/lib/libcrypto/ec/ec_lib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/ec/ec_lib.c b/src/lib/libcrypto/ec/ec_lib.c
index a8b74ce89d..5bfa16df3c 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.110 2025/01/11 15:02:42 tb Exp $ */ 1/* $OpenBSD: ec_lib.c,v 1.111 2025/01/11 15:26:07 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 */
@@ -1250,7 +1250,7 @@ EC_POINT_is_on_curve(const EC_GROUP *group, const EC_POINT *point,
1250 if (ctx == NULL) 1250 if (ctx == NULL)
1251 goto err; 1251 goto err;
1252 1252
1253 if (group->meth->is_on_curve == NULL) { 1253 if (group->meth->point_is_on_curve == NULL) {
1254 ECerror(ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); 1254 ECerror(ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED);
1255 goto err; 1255 goto err;
1256 } 1256 }
@@ -1258,7 +1258,7 @@ EC_POINT_is_on_curve(const EC_GROUP *group, const EC_POINT *point,
1258 ECerror(EC_R_INCOMPATIBLE_OBJECTS); 1258 ECerror(EC_R_INCOMPATIBLE_OBJECTS);
1259 goto err; 1259 goto err;
1260 } 1260 }
1261 ret = group->meth->is_on_curve(group, point, ctx); 1261 ret = group->meth->point_is_on_curve(group, point, ctx);
1262 1262
1263 err: 1263 err:
1264 if (ctx != ctx_in) 1264 if (ctx != ctx_in)