]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* modules/aaa/mod_auth_digest.c (pre_init): Don't register
authorJoe Orton <jorton@apache.org>
Mon, 6 Jul 2026 12:52:10 +0000 (12:52 +0000)
committerJoe Orton <jorton@apache.org>
Mon, 6 Jul 2026 12:52:10 +0000 (12:52 +0000)
  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

modules/aaa/mod_auth_digest.c

index bd79ad62136796dab0d523665690af49d04cbd54..1ebad110c086adee7044c5645d6aa42310a00b0d 100644 (file)
@@ -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;