aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-07-25 19:46:09 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-07-28 07:21:37 +0300
commita64c96c497064092cdf8bbc66e60bac7e3f3ffac (patch)
tree08cb1916c2df5fb9a3f0028ef8203ca26996d0ff /src/microhttpd
parent2fd1a01fe010ea47654fd6b3053af619fb96dc37 (diff)
downloadlibmicrohttpd-a64c96c497064092cdf8bbc66e60bac7e3f3ffac.tar.gz
libmicrohttpd-a64c96c497064092cdf8bbc66e60bac7e3f3ffac.zip
MHD_FEATURE_*: added some values related to Digest Auth
Diffstat (limited to 'src/microhttpd')
-rw-r--r--src/microhttpd/daemon.c38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 251e563e..2f868bfb 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -8379,7 +8379,45 @@ MHD_is_feature_supported (enum MHD_FEATURE feature)
8379#else 8379#else
8380 return MHD_NO; 8380 return MHD_NO;
8381#endif 8381#endif
8382 case MHD_FEATURE_DIGEST_AUTH_RFC2069:
8383#ifdef DAUTH_SUPPORT
8384 return MHD_NO;
8385#else
8386 return MHD_NO;
8387#endif
8388 case MHD_FEATURE_DIGEST_AUTH_MD5:
8389#ifdef DAUTH_SUPPORT
8390 return MHD_YES;
8391#else
8392 return MHD_NO;
8393#endif
8394 case MHD_FEATURE_DIGEST_AUTH_SHA256:
8395#ifdef DAUTH_SUPPORT
8396 return MHD_YES;
8397#else
8398 return MHD_NO;
8399#endif
8400 case MHD_FEATURE_DIGEST_AUTH_AUTH_INT:
8401#ifdef DAUTH_SUPPORT
8402 return MHD_NO;
8403#else
8404 return MHD_NO;
8405#endif
8406 case MHD_FEATURE_DIGEST_AUTH_ALGO_SESSION:
8407#ifdef DAUTH_SUPPORT
8408 return MHD_NO;
8409#else
8410 return MHD_NO;
8411#endif
8412 case MHD_FEATURE_DIGEST_AUTH_USERHASH:
8413#ifdef DAUTH_SUPPORT
8414 return MHD_YES;
8415#else
8416 return MHD_NO;
8417#endif
8382 8418
8419 default:
8420 break;
8383 } 8421 }
8384 return MHD_NO; 8422 return MHD_NO;
8385} 8423}