From 4f4db522b10347e779e635569d9938a60931b0d1 Mon Sep 17 00:00:00 2001 From: tb <> Date: Wed, 1 Jan 2025 09:31:05 +0000 Subject: Use the shorthand p rather than &group->p in one more place --- src/lib/libcrypto/ec/ecp_methods.c | 4 ++-- 1 file 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 @@ -/* $OpenBSD: ecp_methods.c,v 1.14 2024/12/12 10:00:15 tb Exp $ */ +/* $OpenBSD: ecp_methods.c,v 1.15 2025/01/01 09:31:05 tb Exp $ */ /* Includes code written by Lenka Fibikova * for the OpenSSL project. * 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, ECerror(EC_R_INVALID_COMPRESSION_BIT); goto err; } - if (!BN_usub(y, &group->p, y)) + if (!BN_usub(y, p, y)) goto err; if (y_bit != BN_is_odd(y)) { -- cgit v1.2.3-55-g6feb