summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec/ec_curve.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/ec/ec_curve.c')
-rw-r--r--src/lib/libcrypto/ec/ec_curve.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/ec/ec_curve.c b/src/lib/libcrypto/ec/ec_curve.c
index 84a565d437..b575f7bac2 100644
--- a/src/lib/libcrypto/ec/ec_curve.c
+++ b/src/lib/libcrypto/ec/ec_curve.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ec_curve.c,v 1.20 2020/06/05 17:12:09 jsing Exp $ */ 1/* $OpenBSD: ec_curve.c,v 1.21 2021/04/20 17:16:37 tb Exp $ */
2/* 2/*
3 * Written by Nils Larsch for the OpenSSL project. 3 * Written by Nils Larsch for the OpenSSL project.
4 */ 4 */
@@ -3373,7 +3373,7 @@ ec_group_new_from_data(const ec_list_element curve)
3373 ECerror(ERR_R_BN_LIB); 3373 ECerror(ERR_R_BN_LIB);
3374 goto err; 3374 goto err;
3375 } 3375 }
3376 if (!EC_POINT_set_affine_coordinates_GFp(group, P, x, y, ctx)) { 3376 if (!EC_POINT_set_affine_coordinates(group, P, x, y, ctx)) {
3377 ECerror(ERR_R_EC_LIB); 3377 ECerror(ERR_R_EC_LIB);
3378 goto err; 3378 goto err;
3379 } 3379 }