httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From poir...@apache.org
Subject svn commit: r808903 - /httpd/httpd/trunk/modules/aaa/mod_auth_digest.c
Date Fri, 28 Aug 2009 14:42:25 GMT
Author: poirier
Date: Fri Aug 28 14:42:25 2009
New Revision: 808903

URL: http://svn.apache.org/viewvc?rev=808903&view=rev
Log:
Make code match warning message: disable nonce-checking
if shared memory isn't available.

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

Modified: httpd/httpd/trunk/modules/aaa/mod_auth_digest.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/aaa/mod_auth_digest.c?rev=808903&r1=808902&r2=808903&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/aaa/mod_auth_digest.c (original)
+++ httpd/httpd/trunk/modules/aaa/mod_auth_digest.c Fri Aug 28 14:42:25 2009
@@ -592,11 +592,13 @@
 
 static const char *set_nc_check(cmd_parms *cmd, void *config, int flag)
 {
-    if (flag && !client_shm)
+    if (flag && !client_shm) {
         ap_log_error(APLOG_MARK, APLOG_WARNING, 0,
                      cmd->server, "Digest: WARNING: nonce-count checking "
                      "is not supported on platforms without shared-memory "
                      "support - disabling check");
+        flag = 0;
+    }
 
     ((digest_config_rec *) config)->check_nc = flag;
     return NULL;



Mime
View raw message