gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r12481 - libmicrohttpd/src/daemon


From: gnunet
Subject: [GNUnet-SVN] r12481 - libmicrohttpd/src/daemon
Date: Fri, 6 Aug 2010 13:34:25 +0200

Author: grothoff
Date: 2010-08-06 13:34:25 +0200 (Fri, 06 Aug 2010)
New Revision: 12481

Modified:
   libmicrohttpd/src/daemon/daemon.c
Log:
fix

Modified: libmicrohttpd/src/daemon/daemon.c
===================================================================
--- libmicrohttpd/src/daemon/daemon.c   2010-08-06 11:29:16 UTC (rev 12480)
+++ libmicrohttpd/src/daemon/daemon.c   2010-08-06 11:34:25 UTC (rev 12481)
@@ -1492,9 +1492,12 @@
     return NULL;
   memset (retVal, 0, sizeof (struct MHD_Daemon));
 #if HTTPS_SUPPORT
-  gnutls_priority_init (&retVal->priority_cache,
-                       "NORMAL",
-                       NULL);
+  if (options & MHD_USE_SSL)
+    {
+      gnutls_priority_init (&retVal->priority_cache,
+                           "NORMAL",
+                           NULL);
+    }
 #endif
   retVal->socket_fd = -1;
   retVal->options = (enum MHD_OPTION)options;




reply via email to

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