File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -3545,9 +3545,10 @@ queue_auth_required_response3_inner (struct MHD_Connection *connection,
35453545#endif /* HAVE_MESSAGES */
35463546 return MHD_NO ;
35473547 }
3548- malgo3 &=
3549- (enum MHD_DigestAuthMultiQOP )
3550- (~((enum MHD_DigestAuthMultiQOP ) MHD_DIGEST_AUTH_ALGO3_NON_SESSION ));
3548+ malgo3 =
3549+ (enum MHD_DigestAuthMultiAlgo3 )
3550+ (malgo3
3551+ & (~((enum MHD_DigestAuthMultiAlgo3 ) MHD_DIGEST_AUTH_ALGO3_NON_SESSION )));
35513552#ifdef MHD_MD5_SUPPORT
35523553 if (0 != (((unsigned int ) malgo3 ) & MHD_DIGEST_BASE_ALGO_MD5 ))
35533554 s_algo = MHD_DIGEST_AUTH_ALGO3_MD5 ;
@@ -3580,8 +3581,10 @@ queue_auth_required_response3_inner (struct MHD_Connection *connection,
35803581
35813582 if (MHD_DIGEST_AUTH_MULT_QOP_AUTH_INT == mqop )
35823583 MHD_PANIC (_ ("Wrong 'mqop' value, API violation" ));
3583- mqop &= (enum MHD_DigestAuthMultiQOP )
3584- (~((enum MHD_DigestAuthMultiQOP ) MHD_DIGEST_AUTH_QOP_AUTH_INT ));
3584+
3585+ mqop = (enum MHD_DigestAuthMultiQOP )
3586+ (mqop
3587+ & (~((enum MHD_DigestAuthMultiQOP ) MHD_DIGEST_AUTH_QOP_AUTH_INT )));
35853588
35863589 if (! digest_init_one_time (da , get_base_digest_algo (s_algo )))
35873590 MHD_PANIC (_ ("Wrong 'algo' value, API violation" ));
You can’t perform that action at this time.
0 commit comments