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; }