diff options
author | tb <> | 2025-02-26 09:52:55 +0000 |
---|---|---|
committer | tb <> | 2025-02-26 09:52:55 +0000 |
commit | f55cac4fee34533075692ff0c2e1942c5f2f5a6b (patch) | |
tree | 4a2d174b5e26e0e634f3e8b4eff4b84abd6e72b4 /src/lib/libcrypto/dsa/dsa.h | |
parent | 8433b909f043d8d8afb48503656082d288e05934 (diff) | |
download | openbsd-f55cac4fee34533075692ff0c2e1942c5f2f5a6b.tar.gz openbsd-f55cac4fee34533075692ff0c2e1942c5f2f5a6b.tar.bz2 openbsd-f55cac4fee34533075692ff0c2e1942c5f2f5a6b.zip |
obj_dat: don't shift a->length into the sign bit
For an OID of excessive length >= 2^12, a->length << 20L is undefined,
so add a cast to the target type of (unsigned long).
From Kenjiro Nakayama
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa.h')
0 files changed, 0 insertions, 0 deletions