aboutsummaryrefslogtreecommitdiff
path: root/src/include/microhttpd.h
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-09-01 18:05:33 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-09-04 12:25:18 +0300
commit62175acf7cdb5804da98cbfa0364a8b6b6cfed54 (patch)
treecc33418cc9c1f92689930b55d3e4943960ff2b18 /src/include/microhttpd.h
parente3e01bd7c3d47e1410e8f568685c7fbbfd4c9d4c (diff)
downloadlibmicrohttpd-62175acf7cdb5804da98cbfa0364a8b6b6cfed54.tar.gz
libmicrohttpd-62175acf7cdb5804da98cbfa0364a8b6b6cfed54.zip
Added MHD_FEATURE_DIGEST_AUTH_SHA512_256 value
Diffstat (limited to 'src/include/microhttpd.h')
-rw-r--r--src/include/microhttpd.h22
1 files changed, 15 insertions, 7 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index c2e1cc23..7b72dfa6 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -96,7 +96,7 @@ extern "C"
96 * they are parsed as decimal numbers. 96 * they are parsed as decimal numbers.
97 * Example: 0x01093001 = 1.9.30-1. 97 * Example: 0x01093001 = 1.9.30-1.
98 */ 98 */
99#define MHD_VERSION 0x00097535 99#define MHD_VERSION 0x00097536
100 100
101/* If generic headers don't work on your platform, include headers 101/* If generic headers don't work on your platform, include headers
102 which define 'va_list', 'size_t', 'ssize_t', 'intptr_t', 'off_t', 102 which define 'va_list', 'size_t', 'ssize_t', 'intptr_t', 'off_t',
@@ -6052,28 +6052,36 @@ enum MHD_FEATURE
6052 MHD_FEATURE_DIGEST_AUTH_SHA256 = 27, 6052 MHD_FEATURE_DIGEST_AUTH_SHA256 = 27,
6053 6053
6054 /** 6054 /**
6055 * Get whether the SHA-512/256-based hashing algorithms are supported
6056 * for Digest Authorization.
6057 * Currently it is always not supported.
6058 * @note Available since #MHD_VERSION 0x00097536
6059 */
6060 MHD_FEATURE_DIGEST_AUTH_SHA512_256 = 28,
6061
6062 /**
6055 * Get whether QOP with value 'auth-int' (authentication with integrity 6063 * Get whether QOP with value 'auth-int' (authentication with integrity
6056 * protection) is supported for Digest Authorization. 6064 * protection) is supported for Digest Authorization.
6057 * Currently it is always not supported. 6065 * Currently it is always not supported.
6058 * @note Available since #MHD_VERSION 0x00097527 6066 * @note Available since #MHD_VERSION 0x00097536
6059 */ 6067 */
6060 MHD_FEATURE_DIGEST_AUTH_AUTH_INT = 28, 6068 MHD_FEATURE_DIGEST_AUTH_AUTH_INT = 29,
6061 6069
6062 /** 6070 /**
6063 * Get whether 'session' algorithms (like 'MD5-sess') are supported for Digest 6071 * Get whether 'session' algorithms (like 'MD5-sess') are supported for Digest
6064 * Authorization. 6072 * Authorization.
6065 * Currently it is always not supported. 6073 * Currently it is always not supported.
6066 * @note Available since #MHD_VERSION 0x00097527 6074 * @note Available since #MHD_VERSION 0x00097536
6067 */ 6075 */
6068 MHD_FEATURE_DIGEST_AUTH_ALGO_SESSION = 29, 6076 MHD_FEATURE_DIGEST_AUTH_ALGO_SESSION = 30,
6069 6077
6070 /** 6078 /**
6071 * Get whether 'userhash' is supported for Digest Authorization. 6079 * Get whether 'userhash' is supported for Digest Authorization.
6072 * It is always supported since #MHD_VERSION 0x00097526 if Digest Auth 6080 * It is always supported since #MHD_VERSION 0x00097526 if Digest Auth
6073 * module is built. 6081 * module is built.
6074 * @note Available since #MHD_VERSION 0x00097527 6082 * @note Available since #MHD_VERSION 0x00097536
6075 */ 6083 */
6076 MHD_FEATURE_DIGEST_AUTH_USERHASH = 30 6084 MHD_FEATURE_DIGEST_AUTH_USERHASH = 31
6077}; 6085};
6078 6086
6079 6087