]> git.ipfire.org Git - thirdparty/openssl.git/commit
OBJ_nid2obj(): Return UNDEF object instead of NULL for NID_undef
authorTomas Mraz <tomas@openssl.org>
Tue, 21 Mar 2023 10:36:56 +0000 (11:36 +0100)
committerTomas Mraz <tomas@openssl.org>
Thu, 23 Mar 2023 14:33:47 +0000 (15:33 +0100)
commit908ba3ed9adbb3df90f7684a3111ca916a45202d
treed1776af33ea8dcccfd5ab0d87f5ac08c6f029820
parentf5935fcf8e4bc2191ac4a32e5b7ec32817642f1e
OBJ_nid2obj(): Return UNDEF object instead of NULL for NID_undef

Fixes a regression from 3.0 from the obj creation refactoring.

Fixes #20555

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20556)
crypto/objects/obj_dat.c
test/asn1_internal_test.c