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

Richard Levitte levitte at openssl.org
Sun Nov 6 21:56:03 UTC 2016


The branch OpenSSL_1_1_0-stable has been updated
       via  51d8e5ea866a7d606e4f2aa5e45c2f7df2270ace (commit)
       via  f02ec65590ef38444e80f595ebdbd211a25b4738 (commit)
      from  294f7a746e9928ce4ba509e0e8fa181f18e24efd (commit)


- Log -----------------------------------------------------------------
commit 51d8e5ea866a7d606e4f2aa5e45c2f7df2270ace
Author: Richard Levitte <levitte at openssl.org>
Date:   Mon Oct 24 15:11:29 2016 +0200

    Windows: use default ZLIB1 unless --with-zlib-lib is set
    
    Reviewed-by: Andy Polyakov <appro at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/1772)
    (cherry picked from commit 475592e2419c5cb3098dfea4c9229d0c09ea7010)

commit f02ec65590ef38444e80f595ebdbd211a25b4738
Author: Richard Levitte <levitte at openssl.org>
Date:   Mon Oct 24 15:03:57 2016 +0200

    Fix the LIBZ macro on VC config targets
    
    If zlib-dynamic was given but not --with-zlib-lib, LIBZ was defined to
    the empty string.  Instead, give it the default "ZLIB1".
    
    Reviewed-by: Andy Polyakov <appro at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/1772)
    (cherry picked from commit 111b234c8f80371e7e31d922946cbd546491d4e8)

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

Summary of changes:
 Configurations/00-base-templates.conf | 5 +++--
 Configurations/10-main.conf           | 4 +++-
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/Configurations/00-base-templates.conf b/Configurations/00-base-templates.conf
index 566b89b..3455b3a 100644
--- a/Configurations/00-base-templates.conf
+++ b/Configurations/00-base-templates.conf
@@ -80,10 +80,11 @@
             sub {
                 unless ($disabled{zlib}) {
                     if (defined($disabled{"zlib-dynamic"})) {
-                        return $withargs{zlib_lib};
+                        return $withargs{zlib_lib} // "ZLIB1";
                     }
                 }
-                return (); },
+                return ();
+            },
 
         ld              => "link",
         lflags          => "/nologo",
diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf
index 99e435d..5c04009 100644
--- a/Configurations/10-main.conf
+++ b/Configurations/10-main.conf
@@ -1258,9 +1258,11 @@ sub vms_info {
         cflags           => "-W3 -wd4090 -Gs0 -GF -Gy -nologo -DOPENSSL_SYS_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -D_CRT_SECURE_NO_DEPRECATE",
         defines          => add(sub { my @defs = ();
                                       unless ($disabled{"zlib-dynamic"}) {
+                                          my $zlib =
+                                              $withargs{zlib_lib} // "ZLIB1";
                                           push @defs,
                                               quotify("perl",
-                                                      'LIBZ="' . $withargs{zlib_lib} . '"');
+                                                      'LIBZ="' . $zlib . '"');
                                       }
                                       return [ @defs ];
                                     }),


More information about the openssl-commits mailing list