diff options
| author | tb <> | 2024-10-30 18:18:35 +0000 |
|---|---|---|
| committer | tb <> | 2024-10-30 18:18:35 +0000 |
| commit | fdf419beaf02f8919505dec685a59f1f38c15eca (patch) | |
| tree | 4843b18a30702054ca480724550d45ada10ccb37 /src | |
| parent | 267a963ca0284a894401d996a2a42cf65598ea95 (diff) | |
| download | openbsd-fdf419beaf02f8919505dec685a59f1f38c15eca.tar.gz openbsd-fdf419beaf02f8919505dec685a59f1f38c15eca.tar.bz2 openbsd-fdf419beaf02f8919505dec685a59f1f38c15eca.zip | |
Replace hardcoded 1U with EC_OCT_YBIT
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/ec/ec_convert.c | 4 |
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; |
