From: Joe Orton Date: Mon, 6 Jul 2026 12:52:10 +0000 (+0000) Subject: * modules/aaa/mod_auth_digest.c (pre_init): Don't register X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9edc7f541fc77d070d0cf9b7835d81587a892d1f;p=thirdparty%2Fapache%2Fhttpd.git * modules/aaa/mod_auth_digest.c (pre_init): Don't register now-unused "authdigest-opaque" mutex type. GitHub: PR #661 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1935951 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/aaa/mod_auth_digest.c b/modules/aaa/mod_auth_digest.c index bd79ad6213..1ebad110c0 100644 --- a/modules/aaa/mod_auth_digest.c +++ b/modules/aaa/mod_auth_digest.c @@ -178,7 +178,6 @@ static volatile apr_uint32_t *opaque_counter; static volatile apr_uint32_t *otn_counter; /* one-time-nonce counter */ static apr_global_mutex_t *client_lock = NULL; static const char *client_mutex_type = "authdigest-client"; -static const char *opaque_mutex_type = "authdigest-opaque"; static const char *client_shm_filename; #define DEF_SHMEM_SIZE 1000L /* ~ 12 entries */ @@ -356,9 +355,6 @@ static int pre_init(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *ptemp) } rv = ap_mutex_register(pconf, client_mutex_type, NULL, APR_LOCK_DEFAULT, 0); - if (rv != APR_SUCCESS) - return !OK; - rv = ap_mutex_register(pconf, opaque_mutex_type, NULL, APR_LOCK_DEFAULT, 0); if (rv != APR_SUCCESS) return !OK;