diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2022-02-11 16:39:17 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2022-02-11 16:39:17 +0000 |
commit | e986d558b7ce95b3432641a986976c24518ce576 (patch) | |
tree | 696a000393f328586d410749f37108d5921c4997 /lib/libcrypto/ocsp/ocsp_prn.c | |
parent | ddeaa07d64ffd7fc11163cd5a2d8f8ce0ba9be1b (diff) |
Make OBJ_obj2nid() work correctly with NID_undef.
Currently OBJ_obj2nid() with NID_undef returns NID_ccitt - this is due to
doing a lookup on an empty value and having NID_undef conflict with an
uninitialised NID value.
Somewhat based on OpenSSL 0fb99904809.
ok tb@
Diffstat (limited to 'lib/libcrypto/ocsp/ocsp_prn.c')
0 files changed, 0 insertions, 0 deletions