diff options
author | tb <> | 2025-02-26 09:49:54 +0000 |
---|---|---|
committer | tb <> | 2025-02-26 09:49:54 +0000 |
commit | 5b4c409ac90078d7bec9e4ff952acc1549f1c8b9 (patch) | |
tree | 4c27bb0e0b0626a915e559308fa1e22aa39547d9 /src/lib/libssl/tls_buffer.c | |
parent | 428e1c50c41600ea09a866df787b7a8f230936b2 (diff) | |
download | openbsd-5b4c409ac90078d7bec9e4ff952acc1549f1c8b9.tar.gz openbsd-5b4c409ac90078d7bec9e4ff952acc1549f1c8b9.tar.bz2 openbsd-5b4c409ac90078d7bec9e4ff952acc1549f1c8b9.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/libssl/tls_buffer.c')
0 files changed, 0 insertions, 0 deletions