Commit Graph

5 Commits

Author SHA1 Message Date
Matt Caswell 6f2a7abe22 Update copyright year
Reviewed-by: Richard Levitte <levitte@openssl.org>
2021-08-24 14:14:34 +01:00
Shane Lontis 7c65179ad9 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)
2021-04-27 12:41:28 +02:00
Matt Caswell f6e921b416 Update copyright year
Reviewed-by: Richard Levitte <levitte@openssl.org>
2020-12-08 13:09:25 +00:00
Matt Caswell 433974af7b 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>
2020-12-08 10:18:44 +00:00
Richard Levitte c2278c8bc4 TESTS: add test of decoding of invalid zero length ASN.1 INTEGER zero
Confirms #7134

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/7153)
2018-09-09 03:35:26 +02:00