summaryrefslogtreecommitdiffstats
path: root/test/d2i_test.c
AgeCommit message (Collapse)Author
2016-11-10Fix no-cms (CVE-2016-7053)Richard Levitte
Reviewed-by: Matt Caswell <matt@openssl.org>
2016-11-10add test for CVE-2016-7053Dr. Stephen Henson
Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-10-13Add memory leak detection to d2i_testDr. Stephen Henson
Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1707) (cherry picked from commit 4a4c4bf06d6362f56507c787c61b07655563e962)
2016-05-17Copyright consolidation 02/10Rich Salz
Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-05-03add ASN1_INTEGER type to d2i_testDr. Stephen Henson
Reviewed-by: Emilia Käsper <emilia@openssl.org>
2016-04-23In d2i_test return error for malloc failure.Dr. Stephen Henson
Bad ASN.1 data should never be able to trigger a malloc failure so return an error in d2i_test if a malloc failure occurs. Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-04-22Extensions to d2i_test.Dr. Stephen Henson
Using ASN1_ITEM tables in d2i_test: this then uses consistent names and makes it easier to extend. Add bio, reencode and compare tests. Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
2016-04-05testutil: return 1 on successEmilia Kasper
Require that test methods return 1 on success (not 0). This is more customary for OpenSSL. Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-04-04Fix memory leaks in ASN.1Emilia Kasper
These leaks affect 1.1.0 dev branch only; introduced around commit f93ad22f6adb00e722c130e792799467f3927b56 Found with LibFuzzer Reviewed-by: Ben Laurie <ben@openssl.org>