X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=sidebyside;f=apps%2Fca.c;h=cb7bd3552b89476a66af4763c9dc70aa1de9db64;hb=13c3a1defad3837192a8dbfe41074666ed4eb9c1;hp=13217a60b655a4acd6faf50317495ce02a4a3e99;hpb=87d3a0cd9006f67fed0d3335d8b1c5ab94a26f8f;p=oweals%2Fopenssl.git 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);