Check on VMS as well
authorRichard Levitte <levitte@openssl.org>
Mon, 29 Jan 2018 07:58:26 +0000 (08:58 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 28 Feb 2018 17:48:04 +0000 (18:48 +0100)
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4008)

apps/opt.c

index a47451c94f6921980b1c68c5ee7efc89326184a8..902563639679fd6298dae6fbd04ae215c29e11d8 100644 (file)
@@ -620,7 +620,7 @@ int opt_next(void)
     unsigned long ulval;
     ossl_intmax_t imval;
     ossl_uintmax_t umval;
     unsigned long ulval;
     ossl_intmax_t imval;
     ossl_uintmax_t umval;
-#if !defined(_WIN32) && !defined(__VMS)
+#if !defined(_WIN32)
     char *c;
     int oerrno;
 #endif
     char *c;
     int oerrno;
 #endif
@@ -694,7 +694,7 @@ int opt_next(void)
             return -1;
         case '>':
             /* Output file. */
             return -1;
         case '>':
             /* Output file. */
-#if !defined(_WIN32) && !defined(__VMS)
+#if !defined(_WIN32)
             c = OPENSSL_strdup(arg);
             if (c == NULL) {
                 BIO_printf(bio_err,
             c = OPENSSL_strdup(arg);
             if (c == NULL) {
                 BIO_printf(bio_err,