summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec/ecp_smpl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/ec/ecp_smpl.c')
-rw-r--r--src/lib/libcrypto/ec/ecp_smpl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/ec/ecp_smpl.c b/src/lib/libcrypto/ec/ecp_smpl.c
index 3957bd154c..e1fd9007c7 100644
--- a/src/lib/libcrypto/ec/ecp_smpl.c
+++ b/src/lib/libcrypto/ec/ecp_smpl.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ecp_smpl.c,v 1.29 2018/11/15 05:53:31 tb Exp $ */ 1/* $OpenBSD: ecp_smpl.c,v 1.30 2021/04/20 17:16:38 tb Exp $ */
2/* Includes code written by Lenka Fibikova <fibikova@exp-math.uni-essen.de> 2/* Includes code written by Lenka Fibikova <fibikova@exp-math.uni-essen.de>
3 * for the OpenSSL project. 3 * for the OpenSSL project.
4 * Includes code written by Bodo Moeller for the OpenSSL project. 4 * Includes code written by Bodo Moeller for the OpenSSL project.
@@ -1209,9 +1209,9 @@ ec_GFp_simple_make_affine(const EC_GROUP * group, EC_POINT * point, BN_CTX * ctx
1209 if ((y = BN_CTX_get(ctx)) == NULL) 1209 if ((y = BN_CTX_get(ctx)) == NULL)
1210 goto err; 1210 goto err;
1211 1211
1212 if (!EC_POINT_get_affine_coordinates_GFp(group, point, x, y, ctx)) 1212 if (!EC_POINT_get_affine_coordinates(group, point, x, y, ctx))
1213 goto err; 1213 goto err;
1214 if (!EC_POINT_set_affine_coordinates_GFp(group, point, x, y, ctx)) 1214 if (!EC_POINT_set_affine_coordinates(group, point, x, y, ctx))
1215 goto err; 1215 goto err;
1216 if (!point->Z_is_one) { 1216 if (!point->Z_is_one) {
1217 ECerror(ERR_R_INTERNAL_ERROR); 1217 ECerror(ERR_R_INTERNAL_ERROR);