summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libcrypto/ec/ecp_oct.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libcrypto/ec/ecp_oct.c b/src/lib/libcrypto/ec/ecp_oct.c
index 5e3484e2bc..354ae5489d 100644
--- a/src/lib/libcrypto/ec/ecp_oct.c
+++ b/src/lib/libcrypto/ec/ecp_oct.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ecp_oct.c,v 1.17 2022/11/24 16:34:13 tb Exp $ */ 1/* $OpenBSD: ecp_oct.c,v 1.18 2022/11/24 16:35:32 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.
@@ -167,10 +167,10 @@ ec_GFp_simple_set_compressed_coordinates(const EC_GROUP *group,
167 } 167 }
168 if (!BN_usub(y, &group->field, y)) 168 if (!BN_usub(y, &group->field, y))
169 goto err; 169 goto err;
170 } 170 if (y_bit != BN_is_odd(y)) {
171 if (y_bit != BN_is_odd(y)) { 171 ECerror(ERR_R_INTERNAL_ERROR);
172 ECerror(ERR_R_INTERNAL_ERROR); 172 goto err;
173 goto err; 173 }
174 } 174 }
175 if (!EC_POINT_set_affine_coordinates(group, point, x, y, ctx)) 175 if (!EC_POINT_set_affine_coordinates(group, point, x, y, ctx))
176 goto err; 176 goto err;