add ASN1_INTEGER type to d2i_test
authorDr. Stephen Henson <steve@openssl.org>
Tue, 26 Apr 2016 11:04:42 +0000 (12:04 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 3 May 2016 12:06:15 +0000 (13:06 +0100)
Reviewed-by: Emilia Käsper <emilia@openssl.org>
test/d2i_test.c

index 78adf489dd38ba7398a31576c6b0c2ea859e8f7c..19bf4a69ae468d549374130413ee7f2323c35aeb 100644 (file)
@@ -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[] = {