]> git.ipfire.org Git - thirdparty/openssl.git/commit
Add a test for encoding/decoding using an invalid ASN.1 Template
authorMatt Caswell <matt@openssl.org>
Mon, 30 Nov 2020 14:46:47 +0000 (14:46 +0000)
committerMatt Caswell <matt@openssl.org>
Tue, 8 Dec 2020 10:18:44 +0000 (10:18 +0000)
commit433974af7b188d55b1da049b84f3fdeca320cb6a
tree896de2f81877344350b3eaf2f49e0ec859ae54e9
parent94ece6af0c89d596f9c5221b7df7d6582168c8ba
Add a test for encoding/decoding using an invalid ASN.1 Template

If you have a CHOICE type that it must use explicit tagging - otherwise
the template is invalid. We add tests for this.

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
test/asn1_decode_test.c
test/asn1_encode_test.c