libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 653376caa5d0b01456ec60a32485e11c80a8c60b
parent c3b626ed22f172767f6c59487c08c619592d157c
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Tue, 26 Jul 2022 20:52:00 +0300

microhttpd: improved description for MHD_OPTION_DIGEST_AUTH_RANDOM

Diffstat:
Msrc/include/microhttpd.h | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h @@ -1752,8 +1752,11 @@ enum MHD_OPTION /** * Memory pointer for the random values to be used by the Digest * Auth module. This option should be followed by two arguments. - * First an integer of type `size_t` which specifies the size + * First an integer of type `size_t` which specifies the size * of the buffer pointed to by the second argument in bytes. + * The recommended size is between 8 and 32. If size is four or less + * then security could be lowered. Sizes more then 32 (or, probably + * more than 16 - debatable) will not increase security. * Note that the application must ensure that the buffer of the * second argument remains allocated and unmodified while the * daemon is running.