From: Fabian Keil <fk@fabiankeil.de>
Date: Wed, 10 Feb 2021 09:47:46 +0000 (+0100)
Subject: load_config(): Properly parse the client-tag-lifetime directive
X-Git-Tag: v_3_0_32~43
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/faq/@default-cgi@//%22data:application%22?a=commitdiff_plain;h=bc7cc845a82203f50e3fc5c1bd0dca01571749b9;p=privoxy.git

load_config(): Properly parse the client-tag-lifetime directive

Previously it was not accepted as an obsolete hash value was
being used.

Reported by: Joshua Rogers (Opera)
---

diff --git a/loadcfg.c b/loadcfg.c
index dbed0a38..79dad3c5 100644
--- a/loadcfg.c
+++ b/loadcfg.c
@@ -140,7 +140,7 @@ static struct file_list *current_configfile = NULL;
 #define hash_cipher_list                 1225729316U /* "cipher-list" */
 #define hash_client_header_order         2701453514U /* "client-header-order" */
 #define hash_client_specific_tag         3353703383U /* "client-specific-tag" */
-#define hash_client_tag_lifetime          647957580U /* "client-tag-lifetime" */
+#define hash_client_tag_lifetime         3239141416U /* "client-tag-lifetime" */
 #define hash_compression_level           2464423563U /* "compression-level" */
 #define hash_confdir                        1978389U /* "confdir" */
 #define hash_connection_sharing          1348841265U /* "connection-sharing" */