gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] 01/05: daemon: fixed build without HTTPS


From: gnunet
Subject: [libmicrohttpd] 01/05: daemon: fixed build without HTTPS
Date: Fri, 23 Apr 2021 17:08:46 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 70a4aff15b995f0e7c99a9935bef0a24362614eb
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Thu Apr 22 20:07:52 2021 +0300

    daemon: fixed build without HTTPS
---
 src/microhttpd/daemon.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index ad3bd7a7..1e5b7f1a 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -6079,8 +6079,12 @@ parse_options_va (struct MHD_Daemon *daemon,
       }
       break;
     case MHD_OPTION_TLS_NO_ALPN:
+#ifdef HTTPS_SUPPORT
       daemon->disable_alpn = (va_arg (ap,
                                       int) != 0);
+#else  /* ! HTTPS_SUPPORT */
+      (void) va_arg (ap, int);
+#endif /* ! HTTPS_SUPPORT */
 #ifdef HAVE_MESSAGES
       if (0 == (daemon->options & MHD_USE_TLS))
         MHD_DLOG (daemon,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]