mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-25 04:09:31 +03:00
fix return value of MHD_queue_basic_auth_fail_response
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
Thu 02 Jul 2020 09:56:23 PM CEST
|
||||
Fixed return type of MHD_queue_basic_auth_fail_response. -CA/CG
|
||||
|
||||
Sun 28 Jun 2020 09:36:01 PM CEST
|
||||
Fix buffer overflow issue in URL parser.
|
||||
Releasing libmicrohttpd 0.9.71. -CG
|
||||
|
||||
@@ -3733,7 +3733,7 @@ MHD_basic_auth_get_username_password (struct MHD_Connection *connection,
|
||||
* @return #MHD_YES on success, #MHD_NO otherwise
|
||||
* @ingroup authentication
|
||||
*/
|
||||
_MHD_EXTERN int
|
||||
_MHD_EXTERN enum MHD_Result
|
||||
MHD_queue_basic_auth_fail_response (struct MHD_Connection *connection,
|
||||
const char *realm,
|
||||
struct MHD_Response *response);
|
||||
|
||||
@@ -120,12 +120,12 @@ MHD_basic_auth_get_username_password (struct MHD_Connection *connection,
|
||||
* @return #MHD_YES on success, #MHD_NO otherwise
|
||||
* @ingroup authentication
|
||||
*/
|
||||
int
|
||||
enum MHD_Result
|
||||
MHD_queue_basic_auth_fail_response (struct MHD_Connection *connection,
|
||||
const char *realm,
|
||||
struct MHD_Response *response)
|
||||
{
|
||||
int ret;
|
||||
enum MHD_Result ret;
|
||||
int res;
|
||||
size_t hlen = strlen (realm) + strlen ("Basic realm=\"\"") + 1;
|
||||
char *header;
|
||||
|
||||
Reference in New Issue
Block a user