digestauth: fixed bits manipulations

No functional change as the rest of the code does not support sessions.
Reported by Martin Strunz (maddin200)
This commit is contained in:
Evgeny Grin (Karlson2k)
2024-07-25 15:23:11 +02:00
parent 668fbd286f
commit a00142f004
+1 -1
View File
@@ -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;
}