commit a00142f00480a34990298cb6d8ef299ccb19d8cd
parent 668fbd286f754e5bd561672d12c20ed80bbb5fc5
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Thu, 25 Jul 2024 15:19:54 +0200
digestauth: fixed bits manipulations
No functional change as the rest of the code does not support sessions.
Reported by Martin Strunz (maddin200)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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;
}