X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=test%2Fmd2test.c;h=3491e13e1096db3bb8e858c4898fd32a18b97d26;hp=81a1760a47c1d5b2bc02d0af2ec7e3199b8bc563;hb=a4abcaeab8b0e1b01f76cddda70a437991c1ff57;hpb=524080c688cc55123250e48061a8c87f0d0ce1e7 diff --git a/test/md2test.c b/test/md2test.c index 81a1760a47..3491e13e10 100644 --- a/test/md2test.c +++ b/test/md2test.c @@ -1,7 +1,7 @@ /* * Copyright 1995-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 @@ -9,8 +9,7 @@ #include -#include "../e_os.h" -#include "test_main.h" +#include "internal/nelem.h" #include "testutil.h" #ifndef OPENSSL_NO_MD2 @@ -59,9 +58,10 @@ static int test_md2(int n) } #endif -void register_tests(void) +int setup_tests(void) { #ifndef OPENSSL_NO_MD2 ADD_ALL_TESTS(test_md2, OSSL_NELEM(test)); #endif + return 1; }