mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-26 04:09:30 +03:00
digestauth: removed redundant check and report
This commit is contained in:
@@ -3256,16 +3256,6 @@ MHD_queue_auth_required_response3 (struct MHD_Connection *connection,
|
||||
#endif /* HAVE_MESSAGES */
|
||||
return MHD_NO;
|
||||
}
|
||||
#ifndef MHD_SHA512_256_SUPPORT
|
||||
if (0 != (((unsigned int) malgo3) & MHD_DIGEST_BASE_ALGO_SHA512_256))
|
||||
{
|
||||
#ifdef HAVE_MESSAGES
|
||||
MHD_DLOG (connection->daemon,
|
||||
_ ("The SHA-512/256 algorithm is not enabled.\n"));
|
||||
#endif /* HAVE_MESSAGES */
|
||||
return MHD_NO;
|
||||
}
|
||||
#endif /* ! MHD_SHA512_256_SUPPORT */
|
||||
#ifdef MHD_MD5_SUPPORT
|
||||
if (0 != (((unsigned int) malgo3) & MHD_DIGEST_BASE_ALGO_MD5))
|
||||
s_algo = MHD_DIGEST_AUTH_ALGO3_MD5;
|
||||
|
||||
Reference in New Issue
Block a user