CVSROOT:        /cvs
Module name:    src
Changes by:     t...@cvs.openbsd.org    2023/12/14 07:01:42

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

Log message:
Simplify OBJ_nid2ln()

If nid is in the range of built-in NIDs, return the corresponding
long name, unless some genius left a hole. Otherwise perform a yolo
check if there are any user-added objects with matching nid in the
global hash.

This changes behavior in that we now push an OBJ_R_UNKNOWN_NID error
onto the stack even if there are no user-added objects.

ok jsing

Reply via email to