]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUG/MINOR: ssl: fix error message of tune.ssl.certificate-compression
authorWilliam Lallemand <wlallemand@haproxy.com>
Tue, 27 Jan 2026 15:23:51 +0000 (16:23 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Tue, 27 Jan 2026 15:25:11 +0000 (16:25 +0100)
tune.ssl-certificate-compression expects 'auto' but not 'on'.

Could be backported if the previous patch is backported.

src/cfgparse-ssl.c

index 3fa93966e4aa16cd12afbf409b2df87ddd6558f2..b6ab1559eada3de8aa09cda014c887ac604273a7 100644 (file)
@@ -510,7 +510,7 @@ static int ssl_parse_certificate_compression(char **args, int section_type, stru
        else if (strcmp(args[1], "off") == 0)
                global_ssl.certificate_compression = 0;
        else {
-               memprintf(err, "'%s' expects either 'on' or 'off' but got '%s'.", args[0], args[1]); return -1;
+               memprintf(err, "'%s' expects either 'auto' or 'off' but got '%s'.", args[0], args[1]); return -1;
        }
 
        return 0;