gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r12825 - libmicrohttpd/src/daemon


From: gnunet
Subject: [GNUnet-SVN] r12825 - libmicrohttpd/src/daemon
Date: Fri, 3 Sep 2010 22:55:54 +0200

Author: grothoff
Date: 2010-09-03 22:55:54 +0200 (Fri, 03 Sep 2010)
New Revision: 12825

Modified:
   libmicrohttpd/src/daemon/digestauth.c
Log:
fix

Modified: libmicrohttpd/src/daemon/digestauth.c
===================================================================
--- libmicrohttpd/src/daemon/digestauth.c       2010-09-03 16:48:31 UTC (rev 
12824)
+++ libmicrohttpd/src/daemon/digestauth.c       2010-09-03 20:55:54 UTC (rev 
12825)
@@ -234,9 +234,10 @@
            return 0; /* end quote not found */
          qn = q2 + 1;
        }      
-      if (0 == strncasecmp (ptr,
-                           key,
-                           keylen))
+      if ( (0 == strncasecmp (ptr,
+                             key,
+                             keylen)) &&
+          (eq == &ptr[keylen]) )
        {
          if (q2 == NULL)
            {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]