X-Git-Url: https://git.openssl.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=test%2Frc2test.c;h=e64d1a728503939e4cc4931d7d0cd7cb27fcee41;hb=bc32673869842c7f00ae7016040a612f516ead7e;hp=056157653c4493bb22855597c2fba40d1c09a604;hpb=a9c6d221055c3a85edb23b1364cd60baafed4b9f;p=openssl.git diff --git a/test/rc2test.c b/test/rc2test.c index 056157653c..e64d1a7285 100644 --- a/test/rc2test.c +++ b/test/rc2test.c @@ -7,7 +7,7 @@ * https://www.openssl.org/source/license.html */ -#include "../e_os.h" +#include "internal/nelem.h" #include "testutil.h" #ifndef OPENSSL_NO_RC2 @@ -59,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; }