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