When configuring 'no-comp', zlib support should be disabled too
authorRichard Levitte <levitte@openssl.org>
Mon, 14 May 2018 03:01:54 +0000 (05:01 +0200)
committerRichard Levitte <levitte@openssl.org>
Mon, 14 May 2018 12:53:11 +0000 (14:53 +0200)
Fixes #6241

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6248)

Configure

index 9c1879eaf936297b3db5fc36865750e395867e1c..c7066dc97c58de6e8f0c19968cbd32b7b3311e4c 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -1173,6 +1173,7 @@ foreach (sort (keys %disabled))
                                $depflags .= " -DOPENSSL_NO_$ALGO";
                                }
                        }
+                        if (/^comp$/)  { $zlib = 0; }
                }
 
        print "\n";