diff options
author | Andy Polyakov <appro@openssl.org> | 2004-07-22 10:25:52 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2004-07-22 10:25:52 +0000 |
commit | d58caee734298d61b2ec119bfa31bc42a9d55480 (patch) | |
tree | c55b81c23ef07763dc6f79a3687af259647c5e2e /crypto/sha | |
parent | e39c2548f522a9293376a19fdbe466514a882d16 (diff) |
EVP_Digest is size_t-fied, clean up test programs accordingly.
Diffstat (limited to 'crypto/sha')
-rw-r--r-- | crypto/sha/sha1test.c | 2 | ||||
-rw-r--r-- | crypto/sha/shatest.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/sha/sha1test.c b/crypto/sha/sha1test.c index cddd598f22..b0650c7254 100644 --- a/crypto/sha/sha1test.c +++ b/crypto/sha/sha1test.c @@ -123,7 +123,7 @@ int main(int argc, char *argv[]) i=1; while (*P != NULL) { - EVP_Digest(*P,(unsigned long)strlen((char *)*P),md,NULL,EVP_sha1(), NULL); + EVP_Digest(*P,strlen((char *)*P),md,NULL,EVP_sha1(), NULL); p=pt(md); if (strcmp(p,(char *)*R) != 0) { diff --git a/crypto/sha/shatest.c b/crypto/sha/shatest.c index ddb388b670..d007cf13ed 100644 --- a/crypto/sha/shatest.c +++ b/crypto/sha/shatest.c @@ -123,7 +123,7 @@ int main(int argc, char *argv[]) i=1; while (*P != NULL) { - EVP_Digest(*P,(unsigned long)strlen((char *)*P),md,NULL,EVP_sha(), NULL); + EVP_Digest(*P,strlen((char *)*P),md,NULL,EVP_sha(), NULL); p=pt(md); if (strcmp(p,(char *)*R) != 0) { |