[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r14276 - in libmicrohttpd: . src/daemon
From: |
gnunet |
Subject: |
[GNUnet-SVN] r14276 - in libmicrohttpd: . src/daemon |
Date: |
Thu, 27 Jan 2011 10:49:35 +0100 |
Author: grothoff
Date: 2011-01-27 10:49:34 +0100 (Thu, 27 Jan 2011)
New Revision: 14276
Modified:
libmicrohttpd/ChangeLog
libmicrohttpd/src/daemon/digestauth.c
Log:
mantis 1651
Modified: libmicrohttpd/ChangeLog
===================================================================
--- libmicrohttpd/ChangeLog 2011-01-27 09:07:42 UTC (rev 14275)
+++ libmicrohttpd/ChangeLog 2011-01-27 09:49:34 UTC (rev 14276)
@@ -1,3 +1,6 @@
+Thu Jan 27 10:48:55 CET 2011
+ Removing bogus assertion in basic authentication code (#1651). -CG/timn
+
Tue Jan 25 14:10:45 CET 2011
Releasing libmicrohttpd 0.9.6. -CG
Modified: libmicrohttpd/src/daemon/digestauth.c
===================================================================
--- libmicrohttpd/src/daemon/digestauth.c 2011-01-27 09:07:42 UTC (rev
14275)
+++ libmicrohttpd/src/daemon/digestauth.c 2011-01-27 09:49:34 UTC (rev
14276)
@@ -731,15 +731,10 @@
size_t hlen = strlen(realm) + strlen("Basic realm=\"\"") + 1;
char header[hlen];
- if (hlen !=
- snprintf(header,
- sizeof(header),
- "Basic realm=\"%s\"",
- realm))
- {
- EXTRA_CHECK (0);
- return MHD_NO;
- }
+ snprintf(header,
+ sizeof (header),
+ "Basic realm=\"%s\"",
+ realm);
ret = MHD_add_response_header(response,
MHD_HTTP_HEADER_WWW_AUTHENTICATE,
header);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r14276 - in libmicrohttpd: . src/daemon,
gnunet <=