libmicrohttpd

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

commit b84ee1fa41c53c43aa7ed1583c36af5cb7c77a0f
parent 7c640a7b1c2f204b383e70b8b2f69a5e1a5b0696
Author: Christian Grothoff <christian@grothoff.org>
Date:   Fri,  2 Aug 2019 15:43:44 +0200

trying to fix #5806

Diffstat:
Msrc/microhttpd/daemon.c | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c @@ -2536,7 +2536,12 @@ internal_add_connection (struct MHD_Daemon *daemon, else { #ifdef HTTPS_SUPPORT - gnutls_init_flags_t flags; +#if (GNUTLS_VERSION_NUMBER+0 >= 0x030500) + gnutls_init_flags_t +#else + unsigned int +#endif + flags; flags = GNUTLS_SERVER; #if (GNUTLS_VERSION_NUMBER+0 >= 0x030402)