projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
For a long time, I've wanted to be able to easily run one or a few
[oweals/openssl.git]
/
crypto
/
md2
/
md2test.c
diff --git
a/crypto/md2/md2test.c
b/crypto/md2/md2test.c
index 63404b183371bcca18d745b175488037acc24375..e3f4fb4c341af264b2d2de675822d63860d266a6 100644
(file)
--- a/
crypto/md2/md2test.c
+++ b/
crypto/md2/md2test.c
@@
-69,7
+69,11
@@
int main(int argc, char *argv[])
#else
#include <openssl/md2.h>
#else
#include <openssl/md2.h>
-char *test[]={
+#ifdef CHARSET_EBCDIC
+#include <openssl/ebcdic.h>
+#endif
+
+static char *test[]={
"",
"a",
"abc",
"",
"a",
"abc",
@@
-80,7
+84,7
@@
char *test[]={
NULL,
};
NULL,
};
-char *ret[]={
+
static
char *ret[]={
"8350e5a3e24c153df2275c9f80692773",
"32ec01ec4a6dac72c0ab96fb34c0b5d1",
"da853b0d3f88d99b30283a69e6ded6bb",
"8350e5a3e24c153df2275c9f80692773",
"32ec01ec4a6dac72c0ab96fb34c0b5d1",
"da853b0d3f88d99b30283a69e6ded6bb",