(no commit message)
authorMatthias Wachs <wachs@net.in.tum.de>
Fri, 30 Jul 2010 11:10:45 +0000 (11:10 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Fri, 30 Jul 2010 11:10:45 +0000 (11:10 +0000)
src/transport/plugin_transport_https.c
src/transport/test_transport_api_rel_https_peer1.conf
src/transport/test_transport_api_rel_https_peer2.conf

index 880d0901761fb065ff80169c70f36b43aeaf1229..ab8c26595a6a5649b27d306be672909f64f6d8f4 100644 (file)
@@ -41,7 +41,8 @@
 #include "microhttpd.h"
 #include <curl/curl.h>
 
-#define DEBUG_HTTPS GNUNET_NO
+#define DEBUG_HTTPS GNUNET_YES
+#define VERBOSE GNUNET_YES
 #define DEBUG_CURL GNUNET_NO
 #define DEBUG_CONNECTIONS GNUNET_NO
 #define DEBUG_SESSION_SELECTION GNUNET_NO
@@ -2558,6 +2559,8 @@ libgnunet_plugin_transport_https_init (void *cls)
 
 
   GNUNET_assert((plugin->key!=NULL) && (plugin->cert!=NULL));
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "TLS certificate loaded\n", key_file, cert_file);
+
   GNUNET_assert ((port > 0) && (port <= 65535));
   plugin->port_inbound = port;
   gn_timeout = GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT;
@@ -2664,4 +2667,4 @@ libgnunet_plugin_transport_https_init (void *cls)
   return api;
 }
 
-/* end of plugin_transport_http.c */
+/* end of plugin_transport_https.c */
index 81bd192a0d164c69606a43ebe3e7224b2e450df6..628a3efc5e1af50fd9f77710a0437ef5dae53c1b 100644 (file)
@@ -45,7 +45,7 @@ MINIMUM-FRIENDS = 0
 [transport]
 PLUGINS = https
 #PLUGINS = tcp http
-DEBUG = NO
+DEBUG = YES
 ACCEPT_FROM6 = ::1;
 ACCEPT_FROM = 127.0.0.1;
 NEIGHBOUR_LIMIT = 50
index 998d70a412caaa8e16bee1b5542fbae50afecd67..5b4582a30030d4569f08db3bbf89b0e04978b9d7 100644 (file)
@@ -45,7 +45,7 @@ MINIMUM-FRIENDS = 0
 [transport]
 PLUGINS = https
 #PLUGINS = tcp http
-DEBUG = NO
+DEBUG = YES
 ACCEPT_FROM6 = ::1;
 ACCEPT_FROM = 127.0.0.1;
 NEIGHBOUR_LIMIT = 50