Add a test for the certificate callback
[openssl.git] / test / asn1_string_table_test.c
index 7e542b952e310c1fad2ae718718c5986cdf1cd9b..3c6cc257bc939dd825e9959c606a5b599aeb07dd 100644 (file)
@@ -15,7 +15,7 @@
 #include <openssl/asn1.h>
 #include "testutil.h"
 
-static int test_string_tbl()
+static int test_string_tbl(void)
 {
     const ASN1_STRING_TABLE *tmp = NULL;
     int nid = 12345678, nid2 = 87654321, rv = 0, ret = 0;
@@ -70,7 +70,8 @@ static int test_string_tbl()
     return rv;
 }
 
-void register_tests(void)
+int setup_tests(void)
 {
     ADD_TEST(test_string_tbl);
+    return 1;
 }