X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=crypto%2Fsha%2Fsha1test.c;h=b0650c7254f2e3e7b1f446b2c393544bab7240c4;hb=70b2ae3edf8243463a5aafbc969f20e6b3394192;hp=4f2e4ada2d25ea200b84d70b56045584e85e8e91;hpb=55f78baf32f213301a0e8d6c6e7f40bd3b9857b1;p=oweals%2Fopenssl.git diff --git a/crypto/sha/sha1test.c b/crypto/sha/sha1test.c index 4f2e4ada2d..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) { @@ -157,6 +157,10 @@ int main(int argc, char *argv[]) } else printf("test 3 ok\n"); + +#ifdef OPENSSL_SYS_NETWARE + if (err) printf("ERROR: %d\n", err); +#endif EXIT(err); EVP_MD_CTX_cleanup(&c); return(0);