[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r17585 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r17585 - gnunet/src/transport |
Date: |
Tue, 18 Oct 2011 18:02:16 +0200 |
Author: wachs
Date: 2011-10-18 18:02:16 +0200 (Tue, 18 Oct 2011)
New Revision: 17585
Modified:
gnunet/src/transport/plugin_transport_http_server.c
gnunet/src/transport/test_transport_api_reliability_https_peer1.conf
gnunet/src/transport/transport-testing.c
Log:
coverity fixes
Modified: gnunet/src/transport/plugin_transport_http_server.c
===================================================================
--- gnunet/src/transport/plugin_transport_http_server.c 2011-10-18 15:55:07 UTC
(rev 17584)
+++ gnunet/src/transport/plugin_transport_http_server.c 2011-10-18 16:02:16 UTC
(rev 17585)
@@ -130,9 +130,10 @@
/* Get crypto init string from config
* If not present just use default values */
- GNUNET_CONFIGURATION_get_value_string (plugin->env->cfg, plugin->name,
- "CRYPTO_INIT", &plugin->crypto_init);
+ GNUNET_assert (GNUNET_OK == GNUNET_CONFIGURATION_get_value_string
(plugin->env->cfg, plugin->name,
+ "CRYPTO_INIT", &plugin->crypto_init));
+
if (GNUNET_OK !=
GNUNET_CONFIGURATION_get_value_filename (plugin->env->cfg, plugin->name,
"KEY_FILE", &key_file))
Modified: gnunet/src/transport/test_transport_api_reliability_https_peer1.conf
===================================================================
--- gnunet/src/transport/test_transport_api_reliability_https_peer1.conf
2011-10-18 15:55:07 UTC (rev 17584)
+++ gnunet/src/transport/test_transport_api_reliability_https_peer1.conf
2011-10-18 16:02:16 UTC (rev 17585)
@@ -9,7 +9,7 @@
[transport-https]
PORT = 12300
-CRYPTO_INIT = NONE:+VERS-TLS1.0:+ARCFOUR-128:+SHA1:+RSA:+COMP-NULL
+#CRYPTO_INIT = NONE:+VERS-TLS1.0:+ARCFOUR-128:+SHA1:+RSA:+COMP-NULL
KEY_FILE = $SERVICEHOME/https_key_p1.key
CERT_FILE = $SERVICEHOME/https_cert_p1.crt
USE_IPv4 = YES
Modified: gnunet/src/transport/transport-testing.c
===================================================================
--- gnunet/src/transport/transport-testing.c 2011-10-18 15:55:07 UTC (rev
17584)
+++ gnunet/src/transport/transport-testing.c 2011-10-18 16:02:16 UTC (rev
17585)
@@ -266,8 +266,8 @@
GNUNET_assert (GNUNET_OK == GNUNET_CONFIGURATION_load (p->cfg, cfgname));
if (GNUNET_CONFIGURATION_have_value (p->cfg, "PATHS", "SERVICEHOME"))
- GNUNET_CONFIGURATION_get_value_string (p->cfg, "PATHS", "SERVICEHOME",
- &p->servicehome);
+ GNUNET_assert (GNUNET_OK == GNUNET_CONFIGURATION_get_value_string (p->cfg,
"PATHS", "SERVICEHOME",
+ &p->servicehome));
if (NULL != p->servicehome)
GNUNET_DISK_directory_remove (p->servicehome);
p->arm_proc =
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r17585 - gnunet/src/transport,
gnunet <=