summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/ec/ec_convert.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/ec/ec_convert.c b/src/lib/libcrypto/ec/ec_convert.c
index 123cf90ef9..f6ee1f9702 100644
--- a/src/lib/libcrypto/ec/ec_convert.c
+++ b/src/lib/libcrypto/ec/ec_convert.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ec_convert.c,v 1.2 2024/10/30 18:16:34 tb Exp $ */ 1/* $OpenBSD: ec_convert.c,v 1.3 2024/10/30 18:18:35 tb Exp $ */
2/* 2/*
3 * Originally written by Bodo Moeller for the OpenSSL project. 3 * Originally written by Bodo Moeller for the OpenSSL project.
4 */ 4 */
@@ -417,7 +417,7 @@ ec_point_from_octets(const EC_GROUP *group, const unsigned char *buf, size_t buf
417 goto err; 417 goto err;
418 418
419 if (out_form != NULL) 419 if (out_form != NULL)
420 *out_form = buf[0] & ~1U; /* XXX - EC_OCT_YBIT */ 420 *out_form = buf[0] & ~EC_OCT_YBIT;
421 421
422 *out_point = point; 422 *out_point = point;
423 point = NULL; 423 point = NULL;