svn commit: r1935951 - httpd/httpd/trunk/modules/aaa

[email protected] Mon, 06 Jul 2026 12:52:10 -0000
Newsgroups gmane.comp.apache.cvs
Message-ID <178334233040.450251.13438382240264959756@svn03-he-fi>
Author: jorton
Date: Mon Jul  6 12:52:10 2026
New Revision: 1935951

Log:
* modules/aaa/mod_auth_digest.c (pre_init): Don't register
  now-unused "authdigest-opaque" mutex type.

GitHub: PR #661

Modified:
   httpd/httpd/trunk/modules/aaa/mod_auth_digest.c

Modified: httpd/httpd/trunk/modules/aaa/mod_auth_digest.c
==============================================================================
--- httpd/httpd/trunk/modules/aaa/mod_auth_digest.c	Mon Jul  6 12:52:00 2026	(r1935950)
+++ httpd/httpd/trunk/modules/aaa/mod_auth_digest.c	Mon Jul  6 12:52:10 2026	(r1935951)
@@ -178,7 +178,6 @@ static volatile apr_uint32_t *opaque_cou
 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 */
@@ -358,9 +357,6 @@ static int pre_init(apr_pool_t *pconf, a
     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;
 
     retained = ap_retained_data_get(RETAINED_DATA_ID);
     if (retained == NULL) {