mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-10-01 04:03:18 +03:00
digestauth: explicitly reject unsupported algorithm requested by application
This commit is contained in:
1 file changed
+2
-1
@@ -3537,7 +3537,8 @@ queue_auth_required_response3_inner (struct MHD_Connection *connection,
|
||||
size_t p; /* The position in the buffer */
|
||||
char *hdr_name;
|
||||
|
||||
if (0 == (((unsigned int) malgo3) & MHD_DIGEST_AUTH_ALGO3_NON_SESSION))
|
||||
if ((0 == (((unsigned int) malgo3) & MHD_DIGEST_AUTH_ALGO3_NON_SESSION)) ||
|
||||
(0 != (((unsigned int) malgo3) & MHD_DIGEST_AUTH_ALGO3_SESSION)))
|
||||
{
|
||||
#ifdef HAVE_MESSAGES
|
||||
MHD_DLOG (connection->daemon,
|
||||
|
||||
Reference in new issue
Block a user