Fix d2i_ASN1_OBJECT()
authortb <tb@openbsd.org>
Fri, 13 May 2022 16:32:10 +0000 (16:32 +0000)
committertb <tb@openbsd.org>
Fri, 13 May 2022 16:32:10 +0000 (16:32 +0000)
commit8444ace2e9958b9b4ee39c21add9c197aa859cc5
treef5345396c6a19c96c9fa54a59c7e90541ba21bc8
parent4564029f9cb3eebe0367746e84e30a977eed3985
Fix d2i_ASN1_OBJECT()

Due to a confusion of two CBS, the API would incorrectly advance the
*der_in pointer, resulting in a DER parse failure.

Issue reported by Aram Sargsyan

ok jsing
lib/libcrypto/asn1/a_object.c