[openssl-commits] [openssl] OpenSSL_1_1_0-stable update

Richard Levitte levitte at openssl.org
Thu Feb 23 14:18:35 UTC 2017


The branch OpenSSL_1_1_0-stable has been updated
       via  6db2b1490e5da1255f4158dc8c2d4a2dd87cbe7b (commit)
      from  7d02309a1622a804668a22f9cfbe9c5e49dead9a (commit)


- Log -----------------------------------------------------------------
commit 6db2b1490e5da1255f4158dc8c2d4a2dd87cbe7b
Author: Richard Levitte <levitte at openssl.org>
Date:   Thu Feb 23 14:41:20 2017 +0100

    Check for the presence of _WIN32 rather than its value.
    
    Reviewed-by: Andy Polyakov <appro at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/2727)
    (cherry picked from commit 46958a043d51633ed36bcfb13ff048a3381366a6)

-----------------------------------------------------------------------

Summary of changes:
 apps/rehash.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/apps/rehash.c b/apps/rehash.c
index 7d379b8..f0eb078 100644
--- a/apps/rehash.c
+++ b/apps/rehash.c
@@ -287,10 +287,10 @@ static int ends_with_dirsep(const char *path)
 {
     if (*path != '\0')
         path += strlen(path) - 1;
-# ifdef __VMS
+# if defined __VMS
     if (*path == ']' || *path == '>' || *path == ':')
         return 1;
-# elif _WIN32
+# elif defined _WIN32
     if (*path == '\\')
         return 1;
 # endif


More information about the openssl-commits mailing list