#include <netinet/in.h>
#include <arpa/inet.h>
-#define VERBOSE GNUNET_YES
+#define VERBOSE GNUNET_NO
#define DEBUG_CURL GNUNET_NO
#define HTTP_BUFFER_SIZE 2048
GNUNET_DISK_directory_remove ("/tmp/test_plugin_transport_http");
struct stat sbuf;
-
if (0 == stat (cert_file, &sbuf ))
{
if (0 == remove(cert_file))
addrlen);
return;
}
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
_("Transport plugin notification for address: `%s':%u\n"),
address,
port);
"KEY_FILE",
&key_file);
}
- else
- {
+ if (key_file == NULL)
GNUNET_asprintf(&key_file,"https.key");
- }
if (0 == stat (key_file, &sbuf ))
{
"CERT_FILE",
&cert_file);
}
- else
- {
+ if (cert_file == NULL)
GNUNET_asprintf(&cert_file,"https.cert");
- }
if (0 == stat (cert_file, &sbuf ))
{