From a00142f00480a34990298cb6d8ef299ccb19d8cd Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Thu, 25 Jul 2024 15:19:54 +0200 Subject: [PATCH] digestauth: fixed bits manipulations No functional change as the rest of the code does not support sessions. Reported by Martin Strunz (maddin200) --- src/microhttpd/digestauth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/microhttpd/digestauth.c b/src/microhttpd/digestauth.c index 05ca63f2..e2e326f0 100644 --- a/src/microhttpd/digestauth.c +++ b/src/microhttpd/digestauth.c @@ -215,7 +215,7 @@ get_base_digest_algo (enum MHD_DigestAuthAlgo3 algo3) ((unsigned int) algo3) & ~((unsigned int) (MHD_DIGEST_AUTH_ALGO3_NON_SESSION - | MHD_DIGEST_AUTH_ALGO3_NON_SESSION)); + | MHD_DIGEST_AUTH_ALGO3_SESSION)); return (enum MHD_DigestBaseAlgo) base_algo; }