aboutsummaryrefslogtreecommitdiff
path: root/openssl/crypto/sha/shatest.c
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/crypto/sha/shatest.c')
-rw-r--r--openssl/crypto/sha/shatest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openssl/crypto/sha/shatest.c b/openssl/crypto/sha/shatest.c
index ed0fe06a7..27614646d 100644
--- a/openssl/crypto/sha/shatest.c
+++ b/openssl/crypto/sha/shatest.c
@@ -123,9 +123,9 @@ int main(int argc, char *argv[])
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);