Allow OBJ_create() to create an OBJ and NID with a NULL OID
authorRichard Levitte <levitte@openssl.org>
Fri, 9 Dec 2022 15:57:28 +0000 (16:57 +0100)
committerRichard Levitte <levitte@openssl.org>
Tue, 13 Dec 2022 14:40:16 +0000 (15:40 +0100)
commitb79da97cf8751d7b196a87cc8bced0bb3334a0d3
tree3e74383d27e4d29e7091f911a4d087c2ff73606d
parent97b8db1af2f71059ecea986e4d12fc6a23699a74
Allow OBJ_create() to create an OBJ and NID with a NULL OID

We already permit this in crypto/objects/objects.txt, but not programatically,
although being able to do so programatically would be beneficial.

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19876)
crypto/objects/obj_dat.c
doc/man3/OBJ_nid2obj.pod
test/asn1_internal_test.c