CVSROOT:        /cvs
Module name:    src
Changes by:     t...@cvs.openbsd.org    2025/02/26 02:49:54

Modified files:
        lib/libcrypto/objects: obj_dat.c 

Log message:
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

Reply via email to