diff options
author | jsing <> | 2022-02-11 16:39:16 +0000 |
---|---|---|
committer | jsing <> | 2022-02-11 16:39:16 +0000 |
commit | 72eb47d407399328d04cdeeb77a61013d0ee46d3 (patch) | |
tree | 67a04a9245a78e948c5ef72b79a2846b2f153d0c /src/regress/lib/libcrypto/objects/objectstest.c | |
parent | d4f6b8b800bdd1cc2c6b3c48bb59920e93f1ca77 (diff) | |
download | openbsd-72eb47d407399328d04cdeeb77a61013d0ee46d3.tar.gz openbsd-72eb47d407399328d04cdeeb77a61013d0ee46d3.tar.bz2 openbsd-72eb47d407399328d04cdeeb77a61013d0ee46d3.zip |
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 'src/regress/lib/libcrypto/objects/objectstest.c')
0 files changed, 0 insertions, 0 deletions