diff options
Diffstat (limited to 'src/lib/libcrypto/md2/md2test.c')
-rw-r--r-- | src/lib/libcrypto/md2/md2test.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libcrypto/md2/md2test.c b/src/lib/libcrypto/md2/md2test.c index 9c1e28b6ce..db5f5bc6d2 100644 --- a/src/lib/libcrypto/md2/md2test.c +++ b/src/lib/libcrypto/md2/md2test.c | |||
@@ -110,7 +110,7 @@ int main(int argc, char *argv[]) | |||
110 | i=1; | 110 | i=1; |
111 | while (*P != NULL) | 111 | while (*P != NULL) |
112 | { | 112 | { |
113 | EVP_Digest((unsigned char *)*P,(unsigned long)strlen(*P),md,NULL,EVP_md2(), NULL); | 113 | EVP_Digest((unsigned char *)*P,strlen(*P),md,NULL,EVP_md2(), NULL); |
114 | p=pt(md); | 114 | p=pt(md); |
115 | if (strcmp(p,*R) != 0) | 115 | if (strcmp(p,*R) != 0) |
116 | { | 116 | { |
@@ -124,7 +124,11 @@ int main(int argc, char *argv[]) | |||
124 | R++; | 124 | R++; |
125 | P++; | 125 | P++; |
126 | } | 126 | } |
127 | #ifdef OPENSSL_SYS_NETWARE | ||
128 | if (err) printf("ERROR: %d\n", err); | ||
129 | #endif | ||
127 | EXIT(err); | 130 | EXIT(err); |
131 | return err; | ||
128 | } | 132 | } |
129 | 133 | ||
130 | static char *pt(unsigned char *md) | 134 | static char *pt(unsigned char *md) |