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