diff options
Diffstat (limited to 'src/microhttpd/digestauth.c')
-rw-r--r-- | src/microhttpd/digestauth.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/microhttpd/digestauth.c b/src/microhttpd/digestauth.c index a9059f9e..83ecbf5e 100644 --- a/src/microhttpd/digestauth.c +++ b/src/microhttpd/digestauth.c | |||
@@ -3256,16 +3256,6 @@ MHD_queue_auth_required_response3 (struct MHD_Connection *connection, | |||
3256 | #endif /* HAVE_MESSAGES */ | 3256 | #endif /* HAVE_MESSAGES */ |
3257 | return MHD_NO; | 3257 | return MHD_NO; |
3258 | } | 3258 | } |
3259 | #ifndef MHD_SHA512_256_SUPPORT | ||
3260 | if (0 != (((unsigned int) malgo3) & MHD_DIGEST_BASE_ALGO_SHA512_256)) | ||
3261 | { | ||
3262 | #ifdef HAVE_MESSAGES | ||
3263 | MHD_DLOG (connection->daemon, | ||
3264 | _ ("The SHA-512/256 algorithm is not enabled.\n")); | ||
3265 | #endif /* HAVE_MESSAGES */ | ||
3266 | return MHD_NO; | ||
3267 | } | ||
3268 | #endif /* ! MHD_SHA512_256_SUPPORT */ | ||
3269 | #ifdef MHD_MD5_SUPPORT | 3259 | #ifdef MHD_MD5_SUPPORT |
3270 | if (0 != (((unsigned int) malgo3) & MHD_DIGEST_BASE_ALGO_MD5)) | 3260 | if (0 != (((unsigned int) malgo3) & MHD_DIGEST_BASE_ALGO_MD5)) |
3271 | s_algo = MHD_DIGEST_AUTH_ALGO3_MD5; | 3261 | s_algo = MHD_DIGEST_AUTH_ALGO3_MD5; |