diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2017-03-27 15:27:41 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2017-03-27 15:28:14 +0300 |
commit | 9a18334bb6b658466b16348216bce5f132a14bf9 (patch) | |
tree | 8379ea93cbda5e3060d21759eed4a16e1e3b3cdc | |
parent | 6d1ae16af9edb2bdcc04630d0f6aaba282ac6c44 (diff) | |
download | libmicrohttpd-9a18334bb6b658466b16348216bce5f132a14bf9.tar.gz libmicrohttpd-9a18334bb6b658466b16348216bce5f132a14bf9.zip |
Fixed non-TLS builds after 7b0d92902c92782844e84e40ab54d58a65531a65
-rw-r--r-- | src/microhttpd/daemon.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c index a5f9f853..a4a9a2b8 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c | |||
@@ -5486,8 +5486,10 @@ MHD_start_daemon_va (unsigned int flags, | |||
5486 | _("Failed to create inter-thread communication channel: %s\n"), | 5486 | _("Failed to create inter-thread communication channel: %s\n"), |
5487 | MHD_itc_last_strerror_ ()); | 5487 | MHD_itc_last_strerror_ ()); |
5488 | #endif | 5488 | #endif |
5489 | #ifdef HTTPS_SUPPORT | ||
5489 | if (NULL != daemon->priority_cache) | 5490 | if (NULL != daemon->priority_cache) |
5490 | gnutls_priority_deinit (daemon->priority_cache); | 5491 | gnutls_priority_deinit (daemon->priority_cache); |
5492 | #endif /* HTTPS_SUPPORT */ | ||
5491 | free (daemon); | 5493 | free (daemon); |
5492 | return NULL; | 5494 | return NULL; |
5493 | } | 5495 | } |
@@ -5500,8 +5502,10 @@ MHD_start_daemon_va (unsigned int flags, | |||
5500 | _("file descriptor for inter-thread communication channel exceeds maximum value\n")); | 5502 | _("file descriptor for inter-thread communication channel exceeds maximum value\n")); |
5501 | #endif | 5503 | #endif |
5502 | MHD_itc_destroy_chk_ (daemon->itc); | 5504 | MHD_itc_destroy_chk_ (daemon->itc); |
5505 | #ifdef HTTPS_SUPPORT | ||
5503 | if (NULL != daemon->priority_cache) | 5506 | if (NULL != daemon->priority_cache) |
5504 | gnutls_priority_deinit (daemon->priority_cache); | 5507 | gnutls_priority_deinit (daemon->priority_cache); |
5508 | #endif /* HTTPS_SUPPORT */ | ||
5505 | free (daemon); | 5509 | free (daemon); |
5506 | return NULL; | 5510 | return NULL; |
5507 | } | 5511 | } |