Test that we don't have a memory leak in d2i_ASN1_OBJECT.
authorShane Lontis <shane.lontis@oracle.com>
Wed, 21 Apr 2021 03:49:29 +0000 (13:49 +1000)
committerRichard Levitte <levitte@openssl.org>
Tue, 27 Apr 2021 10:41:28 +0000 (12:41 +0200)
commit7c65179ad95d0f6f598ee82e763fce2567fe5802
treee56c8cc141c510acd919a55611e3ce637f8b8ae8
parent65b88a75921533ada8b465bc8d5c0817ad927947
Test that we don't have a memory leak in d2i_ASN1_OBJECT.

Fixes #14667

Reworked test supplied by @smcpeak into a unit test.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14938)
test/asn1_decode_test.c