| Index: openssl/crypto/sha/shatest.c
|
| ===================================================================
|
| --- openssl/crypto/sha/shatest.c (revision 105093)
|
| +++ openssl/crypto/sha/shatest.c (working copy)
|
| @@ -123,9 +123,9 @@
|
| i=1;
|
| while (*P != NULL)
|
| {
|
| - EVP_Digest(*P,strlen((char *)*P),md,NULL,EVP_sha(), NULL);
|
| + EVP_Digest(*P,strlen(*P),md,NULL,EVP_sha(), NULL);
|
| p=pt(md);
|
| - if (strcmp(p,(char *)*R) != 0)
|
| + if (strcmp(p,*R) != 0)
|
| {
|
| printf("error calculating SHA on '%s'\n",*P);
|
| printf("got %s instead of %s\n",p,*R);
|
|
|