Work around Travis "virtual memory exhausted" error
[openssl.git] / test / v3nametest.c
index 39dcfe86ce3d2d771c584809d6a8b186a1dae6e9..aaeab547cd7c955260e20131054a7add4fddbcf6 100644 (file)
@@ -12,7 +12,6 @@
 #include <openssl/x509.h>
 #include <openssl/x509v3.h>
 #include "testutil.h"
-#include "test_main.h"
 
 static const char *const names[] = {
     "a", "b", ".", "*", "@",
@@ -252,7 +251,7 @@ static X509 *make_cert()
 
     if (!TEST_ptr(crt = X509_new()))
         return NULL;
-    if (!TEST_true(X509_set_version(crt, 3))) {
+    if (!TEST_true(X509_set_version(crt, 2))) {
         X509_free(crt);
         return NULL;
     }