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