gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] 02/03: digestauth: explicitly reject unsupported algorit


From: gnunet
Subject: [libmicrohttpd] 02/03: digestauth: explicitly reject unsupported algorithm requested by application
Date: Thu, 25 Jul 2024 15:26:31 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit eb3725dc3a50416bb46455c744d0c44351b00df9
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Thu Jul 25 15:22:44 2024 +0200

    digestauth: explicitly reject unsupported algorithm requested by application
---
 src/microhttpd/digestauth.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/microhttpd/digestauth.c b/src/microhttpd/digestauth.c
index e2e326f0..8cf4e6c7 100644
--- a/src/microhttpd/digestauth.c
+++ b/src/microhttpd/digestauth.c
@@ -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,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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