Since we're moving between directories, let's get an absolute path to
[oweals/openssl.git] / crypto / sha / sha1test.c
index 4f2e4ada2d25ea200b84d70b56045584e85e8e91..b0650c7254f2e3e7b1f446b2c393544bab7240c4 100644 (file)
@@ -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);