diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-06-09 16:47:57 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-06-09 16:56:06 +0300 |
commit | 483d47c90e6073839ab969902fe55d49a7732dd6 (patch) | |
tree | 58d0a2a366e4b68c1cceafb0de62e7219df08107 /src/include | |
parent | 496dfffcf70adb71f45466251df61e9e16be5fa4 (diff) | |
download | libmicrohttpd-483d47c90e6073839ab969902fe55d49a7732dd6.tar.gz libmicrohttpd-483d47c90e6073839ab969902fe55d49a7732dd6.zip |
Basic Auth: switched to the internal Base64 decoding implementation
Internal implementation able to detect all kind of problems with broken
base64 encoding and more secure.
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/microhttpd.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h index ada9af5d..4936e912 100644 --- a/src/include/microhttpd.h +++ b/src/include/microhttpd.h | |||
@@ -4670,9 +4670,10 @@ struct MHD_BasicAuthInfo | |||
4670 | * sent by the client | 4670 | * sent by the client |
4671 | * | 4671 | * |
4672 | * @param connection the MHD connection structure | 4672 | * @param connection the MHD connection structure |
4673 | * @return NULL not valid Basic Authentication header is present in | 4673 | * @return NULL if no valid Basic Authentication header is present in |
4674 | * current request, or pointer to structure with username and | 4674 | * current request, or |
4675 | * password, which must be freed by #MHD_free(). | 4675 | * pointer to structure with username and password, which must be |
4676 | * freed by #MHD_free(). | ||
4676 | * @note Available since #MHD_VERSION 0x00097517 | 4677 | * @note Available since #MHD_VERSION 0x00097517 |
4677 | * @ingroup authentication | 4678 | * @ingroup authentication |
4678 | */ | 4679 | */ |