VMS: remove name mangling guards around inclusion of internals
[openssl.git] / test / asn1_internal_test.c
index 6a5fce40813427d089eab54fcfc3396c4db34cdb..f936098cd9bc3432bbd95f2021db82b0ed016b4e 100644 (file)
@@ -15,6 +15,7 @@
 #include <openssl/asn1.h>
 #include <openssl/evp.h>
 #include <openssl/objects.h>
+#include "test_main.h"
 #include "testutil.h"
 #include "e_os.h"
 
@@ -81,6 +82,7 @@ static int test_standard_methods()
         return 1;
     }
 
+    TEST_error("asn1 standard methods out of order");
     for (tmp = standard_methods, i = 0; i < OSSL_NELEM(standard_methods);
          i++, tmp++)
         fprintf(stderr, "asn1 standard methods: Index %" OSSLzu
@@ -90,10 +92,8 @@ static int test_standard_methods()
     return 0;
 }
 
-int main(int argc, char **argv)
+void register_tests(void)
 {
     ADD_TEST(test_tbl_standard);
     ADD_TEST(test_standard_methods);
-
-    return run_tests(argv[0]);
 }