summaryrefslogtreecommitdiffstats
path: root/test/d2i_test.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2016-04-26 13:04:42 +0200
committerMatt Caswell <matt@openssl.org>2016-05-03 14:06:15 +0200
commit1b96ec100226e24c2969ff586aabf4dcd942c694 (patch)
treee1edb56f3c08ff4e5f9c0bff78b7adc4690f3d4b /test/d2i_test.c
parentAdd test for CVE-2016-2018 (diff)
downloadopenssl-1b96ec100226e24c2969ff586aabf4dcd942c694.tar.xz
openssl-1b96ec100226e24c2969ff586aabf4dcd942c694.zip
add ASN1_INTEGER type to d2i_test
Reviewed-by: Emilia Käsper <emilia@openssl.org>
Diffstat (limited to 'test/d2i_test.c')
-rw-r--r--test/d2i_test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/d2i_test.c b/test/d2i_test.c
index 78adf489dd..19bf4a69ae 100644
--- a/test/d2i_test.c
+++ b/test/d2i_test.c
@@ -148,7 +148,8 @@ int main(int argc, char **argv)
static ASN1_ITEM_EXP *items[] = {
ASN1_ITEM_ref(ASN1_ANY),
ASN1_ITEM_ref(X509),
- ASN1_ITEM_ref(GENERAL_NAME)
+ ASN1_ITEM_ref(GENERAL_NAME),
+ ASN1_ITEM_ref(ASN1_INTEGER)
};
static error_enum expected_errors[] = {