projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add test recipes for internal SM2 tests
[openssl.git]
/
test
/
mdc2test.c
diff --git
a/test/mdc2test.c
b/test/mdc2test.c
index fb513e116c8dcb8e43771d972c4eb02e7acb2358..0658843ce5e2046191efc09a93c7f77e85263478 100644
(file)
--- a/
test/mdc2test.c
+++ b/
test/mdc2test.c
@@
-9,8
+9,7
@@
#include <string.h>
#include <string.h>
-#include "../e_os.h"
-#include "test_main.h"
+#include "internal/nelem.h"
#include "testutil.h"
#if defined(OPENSSL_NO_DES) && !defined(OPENSSL_NO_MDC2)
#include "testutil.h"
#if defined(OPENSSL_NO_DES) && !defined(OPENSSL_NO_MDC2)
@@
-70,9
+69,10
@@
static int test_mdc2(void)
}
#endif
}
#endif
-
void register
_tests(void)
+
int setup
_tests(void)
{
#ifndef OPENSSL_NO_MDC2
ADD_TEST(test_mdc2);
#endif
{
#ifndef OPENSSL_NO_MDC2
ADD_TEST(test_mdc2);
#endif
+ return 1;
}
}