diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2024-07-31 13:28:09 +0200 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2024-07-31 13:28:09 +0200 |
commit | d94229422f07a8023dac2c32638b012b7a73b47a (patch) | |
tree | 0d25d68dfeeecde60865c4bd420870c1afc9609b | |
parent | 26d501f7961211c9c4b0619c2733e3b27111a218 (diff) | |
download | libmicrohttpd-d94229422f07a8023dac2c32638b012b7a73b47a.tar.gz libmicrohttpd-d94229422f07a8023dac2c32638b012b7a73b47a.zip |
digestauth: fixed log message when wrong value used and MHD has some
hashing algorithms disabled.
-rw-r--r-- | src/microhttpd/digestauth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/microhttpd/digestauth.c b/src/microhttpd/digestauth.c index 8cf4e6c7..3fb424dd 100644 --- a/src/microhttpd/digestauth.c +++ b/src/microhttpd/digestauth.c | |||
@@ -3567,7 +3567,7 @@ queue_auth_required_response3_inner (struct MHD_Connection *connection, | |||
3567 | #endif /* MHD_SHA512_256_SUPPORT */ | 3567 | #endif /* MHD_SHA512_256_SUPPORT */ |
3568 | { | 3568 | { |
3569 | if (0 == (((unsigned int) malgo3) | 3569 | if (0 == (((unsigned int) malgo3) |
3570 | & (MHD_DIGEST_BASE_ALGO_MD5 | MHD_DIGEST_BASE_ALGO_SHA512_256 | 3570 | & (MHD_DIGEST_BASE_ALGO_MD5 | MHD_DIGEST_BASE_ALGO_SHA256 |
3571 | | MHD_DIGEST_BASE_ALGO_SHA512_256))) | 3571 | | MHD_DIGEST_BASE_ALGO_SHA512_256))) |
3572 | MHD_PANIC (_ ("Wrong 'malgo3' value, API violation")); | 3572 | MHD_PANIC (_ ("Wrong 'malgo3' value, API violation")); |
3573 | else | 3573 | else |