Parcourir la source

digestauth: fixed bits manipulations

No functional change as the rest of the code does not support sessions.
Reported by Martin Strunz (maddin200)
Evgeny Grin (Karlson2k) il y a 1 an
Parent
commit
a00142f004
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/microhttpd/digestauth.c

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