X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=test%2Fmdc2_internal_test.c;h=64aa2dc1685204528818938c3be5018f938a1286;hp=7deaf2668f6f3838df0a5eadb849f88cb34572d0;hb=ab9c0d28610ce4ed4185bae325b03e2da5dd76fe;hpb=2fae041d6c507315a619e2f29bff86e44cc1d0a1;ds=inline diff --git a/test/mdc2_internal_test.c b/test/mdc2_internal_test.c index 7deaf2668f..64aa2dc168 100644 --- a/test/mdc2_internal_test.c +++ b/test/mdc2_internal_test.c @@ -1,5 +1,5 @@ /* - * Copyright 2016 The OpenSSL Project Authors. All Rights Reserved. + * Copyright 2016-2017 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy @@ -14,8 +14,7 @@ #include #include "testutil.h" -#include "test_main.h" -#include "e_os.h" +#include "internal/nelem.h" typedef struct { const char *input; @@ -65,7 +64,8 @@ static int test_mdc2(int idx) return 1; } -void register_tests() +int setup_tests() { ADD_ALL_TESTS(test_mdc2, OSSL_NELEM(tests)); + return 1; }