Add test for CLIENT_EARLY_TRAFFIC_SECRET key logging
[openssl.git] / test / x509_internal_test.c
index 220231f99d4cd858fc9d2c4fda971256086a9dc5..03bbcf2bfd25839b972a6b4975830e3af8311627 100644 (file)
@@ -15,7 +15,7 @@
 #include <openssl/x509.h>
 #include <openssl/x509v3.h>
 #include "testutil.h"
-#include "e_os.h"
+#include "internal/nelem.h"
 
 /**********************************************************************
  *
@@ -35,7 +35,7 @@
 # pragma names restore
 #endif
 
-static int test_standard_exts()
+static int test_standard_exts(void)
 {
     size_t i;
     int prev = -1, good = 1;
@@ -57,7 +57,8 @@ static int test_standard_exts()
     return good;
 }
 
-void register_tests()
+int setup_tests()
 {
     ADD_TEST(test_standard_exts);
+    return 1;
 }