From 00a16c48e0bba9a1590136e886f6ab2960aa220b Mon Sep 17 00:00:00 2001 From: Christophe Jaillet Date: Sun, 18 Aug 2019 18:52:40 +0000 Subject: [PATCH] Increase the maximum length of strings that can be cached by the module from 100 to 256. PR 62149 [] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1865405 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES | 3 +++ modules/aaa/mod_authn_socache.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index e6b48b22d0..52ced0b2df 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,9 @@ -*- coding: utf-8 -*- Changes with Apache 2.5.1 + *) mod_authn_socache: Increase the maximum length of strings that can be cached by + the module from 100 to 256. PR 62149 [] + *) mod_ssl: reverting a 2.4.40 change where a superfluous SSLCertificateChainFile configuration for a domain managed by mod_md caused a startup error. This happened when mod_md installed its fallback certificate, before it got the first real certificate from Lets Encrypt. diff --git a/modules/aaa/mod_authn_socache.c b/modules/aaa/mod_authn_socache.c index b0f76e0cc3..8514490d2d 100644 --- a/modules/aaa/mod_authn_socache.c +++ b/modules/aaa/mod_authn_socache.c @@ -349,7 +349,7 @@ static void ap_authn_cache_store(request_rec *r, const char *module, } } -#define MAX_VAL_LEN 100 +#define MAX_VAL_LEN 256 static authn_status check_password(request_rec *r, const char *user, const char *password) { -- 2.50.1