W_OK comes via unistd.h - nuke several #ifndef W_OK that attempt to handle
authorjsing <jsing@openbsd.org>
Sun, 18 May 2014 16:34:04 +0000 (16:34 +0000)
committerjsing <jsing@openbsd.org>
Sun, 18 May 2014 16:34:04 +0000 (16:34 +0000)
missing defines.

lib/libssl/src/apps/ca.c

index 23c1318..59f1969 100644 (file)
 
 #include <sys/types.h>
 
-#ifndef W_OK
-#include <sys/file.h>
-#endif
-
 #include <ctype.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <openssl/x509.h>
 #include <openssl/x509v3.h>
 
-#ifndef W_OK
-#define F_OK 0
-#define X_OK 1
-#define W_OK 2
-#define R_OK 4
-#endif
-
-#define BASE_SECTION   "ca"
+#define BASE_SECTION           "ca"
 
 #define ENV_DEFAULT_CA         "default_ca"
 
-#define STRING_MASK    "string_mask"
+#define STRING_MASK            "string_mask"
 #define UTF8_IN                        "utf8"
 
 #define ENV_DIR                        "dir"