aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gns/gnunet-gns-proxy.c2
-rw-r--r--src/include/gnunet_common.h5
-rw-r--r--src/transport/plugin_transport_http_server.c2
3 files changed, 2 insertions, 7 deletions
diff --git a/src/gns/gnunet-gns-proxy.c b/src/gns/gnunet-gns-proxy.c
index 477444919..ef9c7bf62 100644
--- a/src/gns/gnunet-gns-proxy.c
+++ b/src/gns/gnunet-gns-proxy.c
@@ -2302,7 +2302,7 @@ lookup_ssl_httpd (const char* domain)
2302 hd->is_ssl = GNUNET_YES; 2302 hd->is_ssl = GNUNET_YES;
2303 hd->domain = GNUNET_strdup (domain); 2303 hd->domain = GNUNET_strdup (domain);
2304 hd->proxy_cert = pgc; 2304 hd->proxy_cert = pgc;
2305 hd->daemon = MHD_start_daemon (MHD_USE_DEBUG | MHD_USE_TLS | MHD_USE_NO_LISTEN_SOCKET, 2305 hd->daemon = MHD_start_daemon (MHD_USE_DEBUG | MHD_USE_SSL | MHD_USE_NO_LISTEN_SOCKET,
2306 0, 2306 0,
2307 NULL, NULL, 2307 NULL, NULL,
2308 &create_response, hd, 2308 &create_response, hd,
diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h
index 4a5051c53..dcd0c6056 100644
--- a/src/include/gnunet_common.h
+++ b/src/include/gnunet_common.h
@@ -68,11 +68,6 @@ extern "C"
68 */ 68 */
69#define GNUNET_UTIL_VERSION 0x000A0101 69#define GNUNET_UTIL_VERSION 0x000A0101
70 70
71/* support old MHD versions */
72#ifndef MHD_USE_TLS
73#define MHD_USE_TLS MHD_USE_SSL
74#endif
75
76 71
77/** 72/**
78 * Named constants for return values. The following invariants hold: 73 * Named constants for return values. The following invariants hold:
diff --git a/src/transport/plugin_transport_http_server.c b/src/transport/plugin_transport_http_server.c
index 1a2f5d21a..5088f2e77 100644
--- a/src/transport/plugin_transport_http_server.c
+++ b/src/transport/plugin_transport_http_server.c
@@ -2200,7 +2200,7 @@ run_mhd_start_daemon (struct HTTP_Server_Plugin *plugin,
2200 MHD_USE_DEBUG | 2200 MHD_USE_DEBUG |
2201#endif 2201#endif
2202#if BUILD_HTTPS 2202#if BUILD_HTTPS
2203 MHD_USE_TLS | 2203 MHD_USE_SSL |
2204#endif 2204#endif
2205 MHD_USE_SUSPEND_RESUME | 2205 MHD_USE_SUSPEND_RESUME |
2206 v6, 2206 v6,