aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/digestauth.c
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2019-05-21 20:49:01 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2019-05-21 22:22:24 +0300
commit93d614ea838ffb0f9f595a8d6d1c3f2d6419afb2 (patch)
treeea04673ef75f0ce73a2ef44c29ed6be6d913c8a1 /src/microhttpd/digestauth.c
parent8254bfcd5d85e8db245d0581d2739af0fd194242 (diff)
downloadlibmicrohttpd-93d614ea838ffb0f9f595a8d6d1c3f2d6419afb2.tar.gz
libmicrohttpd-93d614ea838ffb0f9f595a8d6d1c3f2d6419afb2.zip
Fixed compiler warning
Diffstat (limited to 'src/microhttpd/digestauth.c')
-rw-r--r--src/microhttpd/digestauth.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/microhttpd/digestauth.c b/src/microhttpd/digestauth.c
index 06c1a5a9..c2783dd7 100644
--- a/src/microhttpd/digestauth.c
+++ b/src/microhttpd/digestauth.c
@@ -1188,6 +1188,7 @@ MHD_digest_auth_check (struct MHD_Connection *connection,
1188 } skey; \ 1188 } skey; \
1189 struct DigestAlgorithm da; \ 1189 struct DigestAlgorithm da; \
1190 \ 1190 \
1191 do { \
1191 switch (algo) { \ 1192 switch (algo) { \
1192 case MHD_DIGEST_ALG_MD5: \ 1193 case MHD_DIGEST_ALG_MD5: \
1193 da.digest_size = MD5_DIGEST_SIZE; \ 1194 da.digest_size = MD5_DIGEST_SIZE; \
@@ -1209,7 +1210,8 @@ MHD_digest_auth_check (struct MHD_Connection *connection,
1209 da.update = &sha256_update; \ 1210 da.update = &sha256_update; \
1210 da.digest = &sha256_finish; \ 1211 da.digest = &sha256_finish; \
1211 break; \ 1212 break; \
1212 } 1213 } \
1214 } while(0)
1213 1215
1214 1216
1215 1217