summaryrefslogtreecommitdiffstats
path: root/apps/ca.c
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2008-12-22 14:05:42 +0000
committerAndy Polyakov <appro@openssl.org>2008-12-22 14:05:42 +0000
commit2140659b00af2e6e392c859cfc392c68d0fe0a10 (patch)
treedfa6f13c6be54d9e083d049097fde55b87c1b9b5 /apps/ca.c
parente527201f6be3c295358bcc8b6bafec598f02dc97 (diff)
Incidentally http://cvs.openssl.org/chngview?cn=17710 also made it possible
to build the library without -D_CRT_NONSTDC_NO_DEPRECATE. This commit expands it even to apps catalog and actually omits the macro in question from Configure.
Diffstat (limited to 'apps/ca.c')
-rw-r--r--apps/ca.c4
1 files changed, 4 insertions, 0 deletions
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);