X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=test%2Frc2test.c;h=e64d1a728503939e4cc4931d7d0cd7cb27fcee41;hp=2553c914f11a0e957e0a14798c99d89e5da33d0d;hb=bbda8ce9da37af41a83cbe188ac3747d7053b553;hpb=05d775288effa21c39e9d6b4e1c82cf06cf9ba43 diff --git a/test/rc2test.c b/test/rc2test.c index 2553c914f1..e64d1a7285 100644 --- a/test/rc2test.c +++ b/test/rc2test.c @@ -7,8 +7,7 @@ * https://www.openssl.org/source/license.html */ -#include "../e_os.h" -#include "test_main.h" +#include "internal/nelem.h" #include "testutil.h" #ifndef OPENSSL_NO_RC2 @@ -60,9 +59,10 @@ static int test_rc2(const int n) #endif -void register_tests(void) +int setup_tests(void) { #ifndef OPENSSL_NO_RC2 ADD_ALL_TESTS(test_rc2, OSSL_NELEM(RC2key)); #endif + return 1; }