diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2011-10-18 16:02:16 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2011-10-18 16:02:16 +0000 |
commit | 5cc38319ae9f339473264443374d3c2c80a08171 (patch) | |
tree | fd0d618cd9ce5ba55abad69d33783ab59b4002b9 /src/transport | |
parent | 3b83b633e8ac09b0f1151e40c3313ecaebb2135f (diff) | |
download | gnunet-5cc38319ae9f339473264443374d3c2c80a08171.tar.gz gnunet-5cc38319ae9f339473264443374d3c2c80a08171.zip |
coverity fixes
Diffstat (limited to 'src/transport')
-rw-r--r-- | src/transport/plugin_transport_http_server.c | 5 | ||||
-rw-r--r-- | src/transport/test_transport_api_reliability_https_peer1.conf | 2 | ||||
-rw-r--r-- | src/transport/transport-testing.c | 4 |
3 files changed, 6 insertions, 5 deletions
diff --git a/src/transport/plugin_transport_http_server.c b/src/transport/plugin_transport_http_server.c index 0454e5bef..4ae0df35a 100644 --- a/src/transport/plugin_transport_http_server.c +++ b/src/transport/plugin_transport_http_server.c | |||
@@ -130,8 +130,9 @@ server_load_certificate (struct Plugin *plugin) | |||
130 | 130 | ||
131 | /* Get crypto init string from config | 131 | /* Get crypto init string from config |
132 | * If not present just use default values */ | 132 | * If not present just use default values */ |
133 | GNUNET_CONFIGURATION_get_value_string (plugin->env->cfg, plugin->name, | 133 | |
134 | "CRYPTO_INIT", &plugin->crypto_init); | 134 | GNUNET_assert (GNUNET_OK == GNUNET_CONFIGURATION_get_value_string (plugin->env->cfg, plugin->name, |
135 | "CRYPTO_INIT", &plugin->crypto_init)); | ||
135 | 136 | ||
136 | if (GNUNET_OK != | 137 | if (GNUNET_OK != |
137 | GNUNET_CONFIGURATION_get_value_filename (plugin->env->cfg, plugin->name, | 138 | GNUNET_CONFIGURATION_get_value_filename (plugin->env->cfg, plugin->name, |
diff --git a/src/transport/test_transport_api_reliability_https_peer1.conf b/src/transport/test_transport_api_reliability_https_peer1.conf index 8f44980ab..a46584ecc 100644 --- a/src/transport/test_transport_api_reliability_https_peer1.conf +++ b/src/transport/test_transport_api_reliability_https_peer1.conf | |||
@@ -9,7 +9,7 @@ TOTAL_QUOTA_IN = 1073741824 | |||
9 | 9 | ||
10 | [transport-https] | 10 | [transport-https] |
11 | PORT = 12300 | 11 | PORT = 12300 |
12 | CRYPTO_INIT = NONE:+VERS-TLS1.0:+ARCFOUR-128:+SHA1:+RSA:+COMP-NULL | 12 | #CRYPTO_INIT = NONE:+VERS-TLS1.0:+ARCFOUR-128:+SHA1:+RSA:+COMP-NULL |
13 | KEY_FILE = $SERVICEHOME/https_key_p1.key | 13 | KEY_FILE = $SERVICEHOME/https_key_p1.key |
14 | CERT_FILE = $SERVICEHOME/https_cert_p1.crt | 14 | CERT_FILE = $SERVICEHOME/https_cert_p1.crt |
15 | USE_IPv4 = YES | 15 | USE_IPv4 = YES |
diff --git a/src/transport/transport-testing.c b/src/transport/transport-testing.c index 66844de31..0079bc421 100644 --- a/src/transport/transport-testing.c +++ b/src/transport/transport-testing.c | |||
@@ -266,8 +266,8 @@ GNUNET_TRANSPORT_TESTING_start_peer (struct GNUNET_TRANSPORT_TESTING_handle * tt | |||
266 | 266 | ||
267 | GNUNET_assert (GNUNET_OK == GNUNET_CONFIGURATION_load (p->cfg, cfgname)); | 267 | GNUNET_assert (GNUNET_OK == GNUNET_CONFIGURATION_load (p->cfg, cfgname)); |
268 | if (GNUNET_CONFIGURATION_have_value (p->cfg, "PATHS", "SERVICEHOME")) | 268 | if (GNUNET_CONFIGURATION_have_value (p->cfg, "PATHS", "SERVICEHOME")) |
269 | GNUNET_CONFIGURATION_get_value_string (p->cfg, "PATHS", "SERVICEHOME", | 269 | GNUNET_assert (GNUNET_OK == GNUNET_CONFIGURATION_get_value_string (p->cfg, "PATHS", "SERVICEHOME", |
270 | &p->servicehome); | 270 | &p->servicehome)); |
271 | if (NULL != p->servicehome) | 271 | if (NULL != p->servicehome) |
272 | GNUNET_DISK_directory_remove (p->servicehome); | 272 | GNUNET_DISK_directory_remove (p->servicehome); |
273 | p->arm_proc = | 273 | p->arm_proc = |