diff options
author | tb <> | 2021-04-20 17:16:38 +0000 |
---|---|---|
committer | tb <> | 2021-04-20 17:16:38 +0000 |
commit | 67e97261c2453d56f2a373d1f3023d6538995dd5 (patch) | |
tree | 5887c8db20a9739a2d144ce6d009f6f18b6f49f1 /src/lib/libcrypto/ec/ec_curve.c | |
parent | 3b87dc9794809a607c59f25dd5d25a8dd1b9e453 (diff) | |
download | openbsd-67e97261c2453d56f2a373d1f3023d6538995dd5.tar.gz openbsd-67e97261c2453d56f2a373d1f3023d6538995dd5.tar.bz2 openbsd-67e97261c2453d56f2a373d1f3023d6538995dd5.zip |
Prepare to provide EC_POINT_{g,s}et_affine_coordinates
Similar to part of OpenSSL commit 8e3cced75fb5fee5da59ebef9605d403a999391b
ok jsing
Diffstat (limited to 'src/lib/libcrypto/ec/ec_curve.c')
-rw-r--r-- | src/lib/libcrypto/ec/ec_curve.c | 4 |
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 | } |