X-Git-Url: https://git.openssl.org/?a=blobdiff_plain;f=test%2Fasn1_string_table_test.c;h=5c3501b210c924145a8e9c4d5ed8caa5c60f792e;hb=fd3a904636aa45401c40e8b86ebacd5135fea2f1;hp=7e542b952e310c1fad2ae718718c5986cdf1cd9b;hpb=7b608d0828c6df0b3bcd49224cdf6ccf4ab4af90;p=openssl.git diff --git a/test/asn1_string_table_test.c b/test/asn1_string_table_test.c index 7e542b952e..5c3501b210 100644 --- a/test/asn1_string_table_test.c +++ b/test/asn1_string_table_test.c @@ -1,13 +1,13 @@ /* * Copyright 2017 The OpenSSL Project Authors. All Rights Reserved. * - * Licensed under the OpenSSL license (the "License"). You may not use + * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/license.html */ -/* Tests for the ANS1_STRING_TABLE_* functions */ +/* Tests for the ASN1_STRING_TABLE_* functions */ #include #include @@ -15,7 +15,7 @@ #include #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; }