]> 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:17:03 +0000 (10:17 +0000)
commit22b88fc9c0e22545401c0b34d24843883ea73fec
treecebba9d6f899d265df56c2aec21482177662fe34
parent97ab3c4b538840037812c8d9164d09a1f4bf11a1
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