X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=apps%2Fca.c;h=cb7bd3552b89476a66af4763c9dc70aa1de9db64;hp=13217a60b655a4acd6faf50317495ce02a4a3e99;hb=2140659b00af2e6e392c859cfc392c68d0fe0a10;hpb=e527201f6be3c295358bcc8b6bafec598f02dc97 diff --git a/apps/ca.c b/apps/ca.c index 13217a60b6..cb7bd3552b 100644 --- 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);