From: Matthias Wachs Date: Fri, 30 Jul 2010 11:10:45 +0000 (+0000) Subject: (no commit message) X-Git-Tag: initial-import-from-subversion-38251~20806 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=64431cc5c9b837526e2a954a3cd24351cb2f8acf;p=oweals%2Fgnunet.git --- diff --git a/src/transport/plugin_transport_https.c b/src/transport/plugin_transport_https.c index 880d09017..ab8c26595 100644 --- a/src/transport/plugin_transport_https.c +++ b/src/transport/plugin_transport_https.c @@ -41,7 +41,8 @@ #include "microhttpd.h" #include -#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 */ diff --git a/src/transport/test_transport_api_rel_https_peer1.conf b/src/transport/test_transport_api_rel_https_peer1.conf index 81bd192a0..628a3efc5 100644 --- a/src/transport/test_transport_api_rel_https_peer1.conf +++ b/src/transport/test_transport_api_rel_https_peer1.conf @@ -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 diff --git a/src/transport/test_transport_api_rel_https_peer2.conf b/src/transport/test_transport_api_rel_https_peer2.conf index 998d70a41..5b4582a30 100644 --- a/src/transport/test_transport_api_rel_https_peer2.conf +++ b/src/transport/test_transport_api_rel_https_peer2.conf @@ -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