diff options
-rw-r--r-- | src/lib/libcrypto/ec/ecp_methods.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/ec/ecp_methods.c b/src/lib/libcrypto/ec/ecp_methods.c index 8f04a24e28..591d895c58 100644 --- a/src/lib/libcrypto/ec/ecp_methods.c +++ b/src/lib/libcrypto/ec/ecp_methods.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ecp_methods.c,v 1.14 2024/12/12 10:00:15 tb Exp $ */ | 1 | /* $OpenBSD: ecp_methods.c,v 1.15 2025/01/01 09:31:05 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. |
@@ -500,7 +500,7 @@ ec_set_compressed_coordinates(const EC_GROUP *group, EC_POINT *point, | |||
500 | ECerror(EC_R_INVALID_COMPRESSION_BIT); | 500 | ECerror(EC_R_INVALID_COMPRESSION_BIT); |
501 | goto err; | 501 | goto err; |
502 | } | 502 | } |
503 | if (!BN_usub(y, &group->p, y)) | 503 | if (!BN_usub(y, p, y)) |
504 | goto err; | 504 | goto err; |
505 | 505 | ||
506 | if (y_bit != BN_is_odd(y)) { | 506 | if (y_bit != BN_is_odd(y)) { |