From 3cba0002454aaa8787f0f17fb462f750350752d4 Mon Sep 17 00:00:00 2001 From: giovanni Date: Thu, 8 May 2014 12:59:17 +0000 Subject: [PATCH] kill some more VMS ifdefs ok miod@ --- lib/libcrypto/ec/ecp_nistp224.c | 4 ---- lib/libcrypto/ec/ecp_nistp256.c | 4 ---- lib/libcrypto/ec/ecp_nistp521.c | 4 ---- lib/libcrypto/engine/eng_list.c | 4 ---- lib/libssl/src/crypto/ec/ecp_nistp224.c | 4 ---- lib/libssl/src/crypto/ec/ecp_nistp256.c | 4 ---- lib/libssl/src/crypto/ec/ecp_nistp521.c | 4 ---- lib/libssl/src/crypto/engine/eng_list.c | 4 ---- 8 files changed, 32 deletions(-) diff --git a/lib/libcrypto/ec/ecp_nistp224.c b/lib/libcrypto/ec/ecp_nistp224.c index 057670cf048..7593b3c4405 100644 --- a/lib/libcrypto/ec/ecp_nistp224.c +++ b/lib/libcrypto/ec/ecp_nistp224.c @@ -28,11 +28,7 @@ #include #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 -#ifndef OPENSSL_SYS_VMS #include -#else -#include -#endif #include #include diff --git a/lib/libcrypto/ec/ecp_nistp256.c b/lib/libcrypto/ec/ecp_nistp256.c index 345f67d5207..1ff63bbbcc9 100644 --- a/lib/libcrypto/ec/ecp_nistp256.c +++ b/lib/libcrypto/ec/ecp_nistp256.c @@ -29,11 +29,7 @@ #include #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 -#ifndef OPENSSL_SYS_VMS #include -#else -#include -#endif #include #include diff --git a/lib/libcrypto/ec/ecp_nistp521.c b/lib/libcrypto/ec/ecp_nistp521.c index f5b72a4c0d3..53a10aa1b95 100644 --- a/lib/libcrypto/ec/ecp_nistp521.c +++ b/lib/libcrypto/ec/ecp_nistp521.c @@ -29,11 +29,7 @@ #include #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 -#ifndef OPENSSL_SYS_VMS #include -#else -#include -#endif #include #include diff --git a/lib/libcrypto/engine/eng_list.c b/lib/libcrypto/engine/eng_list.c index 5528b5478fe..b51557bbd89 100644 --- a/lib/libcrypto/engine/eng_list.c +++ b/lib/libcrypto/engine/eng_list.c @@ -398,11 +398,7 @@ ENGINE *ENGINE_by_id(const char *id) /* Prevent infinite recusrion if we're looking for the dynamic engine. */ if (strcmp(id, "dynamic")) { -#ifdef OPENSSL_SYS_VMS - if((load_dir = getenv("OPENSSL_ENGINES")) == 0) load_dir = "SSLROOT:[ENGINES]"; -#else if((load_dir = getenv("OPENSSL_ENGINES")) == 0) load_dir = ENGINESDIR; -#endif iterator = ENGINE_by_id("dynamic"); if(!iterator || !ENGINE_ctrl_cmd_string(iterator, "ID", id, 0) || !ENGINE_ctrl_cmd_string(iterator, "DIR_LOAD", "2", 0) || diff --git a/lib/libssl/src/crypto/ec/ecp_nistp224.c b/lib/libssl/src/crypto/ec/ecp_nistp224.c index 057670cf048..7593b3c4405 100644 --- a/lib/libssl/src/crypto/ec/ecp_nistp224.c +++ b/lib/libssl/src/crypto/ec/ecp_nistp224.c @@ -28,11 +28,7 @@ #include #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 -#ifndef OPENSSL_SYS_VMS #include -#else -#include -#endif #include #include diff --git a/lib/libssl/src/crypto/ec/ecp_nistp256.c b/lib/libssl/src/crypto/ec/ecp_nistp256.c index 345f67d5207..1ff63bbbcc9 100644 --- a/lib/libssl/src/crypto/ec/ecp_nistp256.c +++ b/lib/libssl/src/crypto/ec/ecp_nistp256.c @@ -29,11 +29,7 @@ #include #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 -#ifndef OPENSSL_SYS_VMS #include -#else -#include -#endif #include #include diff --git a/lib/libssl/src/crypto/ec/ecp_nistp521.c b/lib/libssl/src/crypto/ec/ecp_nistp521.c index f5b72a4c0d3..53a10aa1b95 100644 --- a/lib/libssl/src/crypto/ec/ecp_nistp521.c +++ b/lib/libssl/src/crypto/ec/ecp_nistp521.c @@ -29,11 +29,7 @@ #include #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 -#ifndef OPENSSL_SYS_VMS #include -#else -#include -#endif #include #include diff --git a/lib/libssl/src/crypto/engine/eng_list.c b/lib/libssl/src/crypto/engine/eng_list.c index 5528b5478fe..b51557bbd89 100644 --- a/lib/libssl/src/crypto/engine/eng_list.c +++ b/lib/libssl/src/crypto/engine/eng_list.c @@ -398,11 +398,7 @@ ENGINE *ENGINE_by_id(const char *id) /* Prevent infinite recusrion if we're looking for the dynamic engine. */ if (strcmp(id, "dynamic")) { -#ifdef OPENSSL_SYS_VMS - if((load_dir = getenv("OPENSSL_ENGINES")) == 0) load_dir = "SSLROOT:[ENGINES]"; -#else if((load_dir = getenv("OPENSSL_ENGINES")) == 0) load_dir = ENGINESDIR; -#endif iterator = ENGINE_by_id("dynamic"); if(!iterator || !ENGINE_ctrl_cmd_string(iterator, "ID", id, 0) || !ENGINE_ctrl_cmd_string(iterator, "DIR_LOAD", "2", 0) || -- 2.20.1