aboutsummaryrefslogtreecommitdiff
path: root/crypto/openssl/crypto/md2/md2test.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssl/crypto/md2/md2test.c')
-rw-r--r--crypto/openssl/crypto/md2/md2test.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/crypto/openssl/crypto/md2/md2test.c b/crypto/openssl/crypto/md2/md2test.c
index 9c1e28b6ce80..db5f5bc6d20e 100644
--- a/crypto/openssl/crypto/md2/md2test.c
+++ b/crypto/openssl/crypto/md2/md2test.c
@@ -110,7 +110,7 @@ int main(int argc, char *argv[])
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)
{
@@ -124,7 +124,11 @@ int main(int argc, char *argv[])
R++;
P++;
}
+#ifdef OPENSSL_SYS_NETWARE
+ if (err) printf("ERROR: %d\n", err);
+#endif
EXIT(err);
+ return err;
}
static char *pt(unsigned char *md)