Incidentally http://cvs.openssl.org/chngview?cn=17710 also made it possible
[openssl.git] / apps / ca.c
index 13217a60b655a4acd6faf50317495ce02a4a3e99..cb7bd3552b89476a66af4763c9dc70aa1de9db64 100644 (file)
--- a/apps/ca.c
+++ b/apps/ca.c
@@ -852,7 +852,11 @@ bad:
               that to access().  However, time's too short to do that just
               now.
            */
+#ifndef _WIN32
                if (access(outdir,R_OK|W_OK|X_OK) != 0)
+#else
+               if (_access(outdir,R_OK|W_OK|X_OK) != 0)
+#endif
                        {
                        BIO_printf(bio_err,"I am unable to access the %s directory\n",outdir);
                        perror(outdir);