diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/ec/ec_key.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libcrypto/ec/ec_key.c b/src/lib/libcrypto/ec/ec_key.c index 1d0a03ac88..348156e680 100644 --- a/src/lib/libcrypto/ec/ec_key.c +++ b/src/lib/libcrypto/ec/ec_key.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ec_key.c,v 1.24 2019/01/19 01:12:48 tb Exp $ */ | 1 | /* $OpenBSD: ec_key.c,v 1.25 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 | */ |
| @@ -408,19 +408,19 @@ EC_KEY_set_public_key_affine_coordinates(EC_KEY * key, BIGNUM * x, BIGNUM * y) | |||
| 408 | 408 | ||
| 409 | #ifndef OPENSSL_NO_EC2M | 409 | #ifndef OPENSSL_NO_EC2M |
| 410 | if (is_char_two) { | 410 | if (is_char_two) { |
| 411 | if (!EC_POINT_set_affine_coordinates_GF2m(key->group, point, | 411 | if (!EC_POINT_set_affine_coordinates(key->group, point, |
| 412 | x, y, ctx)) | 412 | x, y, ctx)) |
| 413 | goto err; | 413 | goto err; |
| 414 | if (!EC_POINT_get_affine_coordinates_GF2m(key->group, point, | 414 | if (!EC_POINT_get_affine_coordinates(key->group, point, |
| 415 | tx, ty, ctx)) | 415 | tx, ty, ctx)) |
| 416 | goto err; | 416 | goto err; |
| 417 | } else | 417 | } else |
| 418 | #endif | 418 | #endif |
| 419 | { | 419 | { |
| 420 | if (!EC_POINT_set_affine_coordinates_GFp(key->group, point, | 420 | if (!EC_POINT_set_affine_coordinates(key->group, point, |
| 421 | x, y, ctx)) | 421 | x, y, ctx)) |
| 422 | goto err; | 422 | goto err; |
| 423 | if (!EC_POINT_get_affine_coordinates_GFp(key->group, point, | 423 | if (!EC_POINT_get_affine_coordinates(key->group, point, |
| 424 | tx, ty, ctx)) | 424 | tx, ty, ctx)) |
| 425 | goto err; | 425 | goto err; |
| 426 | } | 426 | } |
