diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/md4/md4test.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/md4/md4test.c b/src/lib/libcrypto/md4/md4test.c index 21a77d96f7..56591728a1 100644 --- a/src/lib/libcrypto/md4/md4test.c +++ b/src/lib/libcrypto/md4/md4test.c | |||
| @@ -97,16 +97,16 @@ static char *pt(unsigned char *md); | |||
| 97 | int main(int argc, char *argv[]) | 97 | int main(int argc, char *argv[]) |
| 98 | { | 98 | { |
| 99 | int i,err=0; | 99 | int i,err=0; |
| 100 | unsigned char **P,**R; | 100 | char **P,**R; |
| 101 | char *p; | 101 | char *p; |
| 102 | unsigned char md[MD4_DIGEST_LENGTH]; | 102 | unsigned char md[MD4_DIGEST_LENGTH]; |
| 103 | 103 | ||
| 104 | P=(unsigned char **)test; | 104 | P=test; |
| 105 | R=(unsigned char **)ret; | 105 | R=ret; |
| 106 | i=1; | 106 | i=1; |
| 107 | while (*P != NULL) | 107 | while (*P != NULL) |
| 108 | { | 108 | { |
| 109 | EVP_Digest(&(P[0][0]),(unsigned long)strlen((char *)*P),md,NULL,EVP_md4(), NULL); | 109 | EVP_Digest(&(P[0][0]),strlen((char *)*P),md,NULL,EVP_md4(), NULL); |
| 110 | p=pt(md); | 110 | p=pt(md); |
| 111 | if (strcmp(p,(char *)*R) != 0) | 111 | if (strcmp(p,(char *)*R) != 0) |
| 112 | { | 112 | { |
