diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2020-12-13 21:27:23 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2020-12-13 21:27:23 +0300 |
commit | c1115185b8c6f85bb51c6f0c20e8db69201a494b (patch) | |
tree | 8da3483b5eaf95b9e4f91a2b2b1a017b6b3dcd52 /src/microhttpd/digestauth.c | |
parent | ef091c941a27c3b0b89fa658b797e5618ed6e1d8 (diff) | |
download | libmicrohttpd-c1115185b8c6f85bb51c6f0c20e8db69201a494b.tar.gz libmicrohttpd-c1115185b8c6f85bb51c6f0c20e8db69201a494b.zip |
Muted some compiler warnings
Diffstat (limited to 'src/microhttpd/digestauth.c')
-rw-r--r-- | src/microhttpd/digestauth.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/microhttpd/digestauth.c b/src/microhttpd/digestauth.c index 0c86c58e..3ab1ec13 100644 --- a/src/microhttpd/digestauth.c +++ b/src/microhttpd/digestauth.c | |||
@@ -31,6 +31,7 @@ | |||
31 | #include "mhd_mono_clock.h" | 31 | #include "mhd_mono_clock.h" |
32 | #include "mhd_str.h" | 32 | #include "mhd_str.h" |
33 | #include "mhd_compat.h" | 33 | #include "mhd_compat.h" |
34 | #include "mhd_assert.h" | ||
34 | 35 | ||
35 | #if defined(MHD_W32_MUTEX_) | 36 | #if defined(MHD_W32_MUTEX_) |
36 | #ifndef WIN32_LEAN_AND_MEAN | 37 | #ifndef WIN32_LEAN_AND_MEAN |
@@ -1214,6 +1215,9 @@ MHD_digest_auth_check (struct MHD_Connection *connection, | |||
1214 | da.update = &MHD_SHA256_update; \ | 1215 | da.update = &MHD_SHA256_update; \ |
1215 | da.digest = &sha256_finish; \ | 1216 | da.digest = &sha256_finish; \ |
1216 | break; \ | 1217 | break; \ |
1218 | default: \ | ||
1219 | mhd_assert (false); \ | ||
1220 | break; \ | ||
1217 | } \ | 1221 | } \ |
1218 | } while (0) | 1222 | } while (0) |
1219 | 1223 | ||