aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/digestauth.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-06-03 23:46:28 +0200
committerChristian Grothoff <christian@grothoff.org>2019-06-03 23:46:28 +0200
commit603ecd85bceb1ffa257e7ecdca8380c7996616ad (patch)
tree031f718eaa63657341c84d5df533524eeb754c5e /src/microhttpd/digestauth.c
parentbf7c90c30f7c6c0227fb873bfb1f361f03e6b1f7 (diff)
downloadlibmicrohttpd-603ecd85bceb1ffa257e7ecdca8380c7996616ad.tar.gz
libmicrohttpd-603ecd85bceb1ffa257e7ecdca8380c7996616ad.zip
prefix even potentially exported hash symbols with MHD_ (as proposed by Dirk Brinkmeier)
Diffstat (limited to 'src/microhttpd/digestauth.c')
-rw-r--r--src/microhttpd/digestauth.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/microhttpd/digestauth.c b/src/microhttpd/digestauth.c
index c2783dd7..ce7edb79 100644
--- a/src/microhttpd/digestauth.c
+++ b/src/microhttpd/digestauth.c
@@ -1195,9 +1195,9 @@ MHD_digest_auth_check (struct MHD_Connection *connection,
1195 da.ctx = &ctx.md5; \ 1195 da.ctx = &ctx.md5; \
1196 da.alg = "md5"; \ 1196 da.alg = "md5"; \
1197 da.sessionkey = skey.md5; \ 1197 da.sessionkey = skey.md5; \
1198 da.init = &MD5Init; \ 1198 da.init = &MHD_MD5Init; \
1199 da.update = &MD5Update; \ 1199 da.update = &MHD_MD5Update; \
1200 da.digest = &MD5Final; \ 1200 da.digest = &MHD_MD5Final; \
1201 break; \ 1201 break; \
1202 case MHD_DIGEST_ALG_AUTO: \ 1202 case MHD_DIGEST_ALG_AUTO: \
1203 /* auto == SHA256, fall-though thus intentional! */ \ 1203 /* auto == SHA256, fall-though thus intentional! */ \
@@ -1206,8 +1206,8 @@ MHD_digest_auth_check (struct MHD_Connection *connection,
1206 da.ctx = &ctx.sha256; \ 1206 da.ctx = &ctx.sha256; \
1207 da.alg = "sha-256"; \ 1207 da.alg = "sha-256"; \
1208 da.sessionkey = skey.sha256; \ 1208 da.sessionkey = skey.sha256; \
1209 da.init = &sha256_init; \ 1209 da.init = &MHD_SHA256_init; \
1210 da.update = &sha256_update; \ 1210 da.update = &MHD_SHA256_update; \
1211 da.digest = &sha256_finish; \ 1211 da.digest = &sha256_finish; \
1212 break; \ 1212 break; \
1213 } \ 1213 } \