diff options
author | tb <> | 2025-02-26 09:49:54 +0000 |
---|---|---|
committer | tb <> | 2025-02-26 09:49:54 +0000 |
commit | 8433b909f043d8d8afb48503656082d288e05934 (patch) | |
tree | 4c27bb0e0b0626a915e559308fa1e22aa39547d9 /src/lib/libcrypto/dsa/dsa.h | |
parent | bb2ae631a25155bd33aa98bd4c66dfc4a50f454e (diff) | |
download | openbsd-8433b909f043d8d8afb48503656082d288e05934.tar.gz openbsd-8433b909f043d8d8afb48503656082d288e05934.tar.bz2 openbsd-8433b909f043d8d8afb48503656082d288e05934.zip |
obj_dat: don't shift ca->type into the sign bit
This is undefined for a ca->type of ADDED_LNAME (2) and ADDED_NID (3)
when ca->type << 30L results in a shift into the sign bit, 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