projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Additional comment changes for reformat of 0.9.8
[oweals/openssl.git]
/
crypto
/
md2
/
md2test.c
diff --git
a/crypto/md2/md2test.c
b/crypto/md2/md2test.c
index 9c1e28b6ce808cba0f7ade6f82c104786fb9d6d3..db5f5bc6d20e6adda0b496f2320f747b9956b498 100644
(file)
--- a/
crypto/md2/md2test.c
+++ b/
crypto/md2/md2test.c
@@
-110,7
+110,7
@@
int main(int argc, char *argv[])
i=1;
while (*P != NULL)
{
i=1;
while (*P != NULL)
{
- EVP_Digest((unsigned char *)*P,
(unsigned long)
strlen(*P),md,NULL,EVP_md2(), NULL);
+ EVP_Digest((unsigned char *)*P,strlen(*P),md,NULL,EVP_md2(), NULL);
p=pt(md);
if (strcmp(p,*R) != 0)
{
p=pt(md);
if (strcmp(p,*R) != 0)
{
@@
-124,7
+124,11
@@
int main(int argc, char *argv[])
R++;
P++;
}
R++;
P++;
}
+#ifdef OPENSSL_SYS_NETWARE
+ if (err) printf("ERROR: %d\n", err);
+#endif
EXIT(err);
EXIT(err);
+ return err;
}
static char *pt(unsigned char *md)
}
static char *pt(unsigned char *md)