diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-08-02 15:43:44 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-08-02 15:43:44 +0200 |
commit | b84ee1fa41c53c43aa7ed1583c36af5cb7c77a0f (patch) | |
tree | 6710b628b50740d09675da7442171304aa1ce941 /src/microhttpd/daemon.c | |
parent | 7c640a7b1c2f204b383e70b8b2f69a5e1a5b0696 (diff) | |
download | libmicrohttpd-b84ee1fa41c53c43aa7ed1583c36af5cb7c77a0f.tar.gz libmicrohttpd-b84ee1fa41c53c43aa7ed1583c36af5cb7c77a0f.zip |
trying to fix #5806
Diffstat (limited to 'src/microhttpd/daemon.c')
-rw-r--r-- | src/microhttpd/daemon.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c index bf01ba9b..a8fc98c6 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c | |||
@@ -2536,7 +2536,12 @@ internal_add_connection (struct MHD_Daemon *daemon, | |||
2536 | else | 2536 | else |
2537 | { | 2537 | { |
2538 | #ifdef HTTPS_SUPPORT | 2538 | #ifdef HTTPS_SUPPORT |
2539 | gnutls_init_flags_t flags; | 2539 | #if (GNUTLS_VERSION_NUMBER+0 >= 0x030500) |
2540 | gnutls_init_flags_t | ||
2541 | #else | ||
2542 | unsigned int | ||
2543 | #endif | ||
2544 | flags; | ||
2540 | 2545 | ||
2541 | flags = GNUTLS_SERVER; | 2546 | flags = GNUTLS_SERVER; |
2542 | #if (GNUTLS_VERSION_NUMBER+0 >= 0x030402) | 2547 | #if (GNUTLS_VERSION_NUMBER+0 >= 0x030402) |