projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00a16eb
)
fixed: klocwork bug #305
author
Matthias Wachs
<wachs@net.in.tum.de>
Wed, 1 Sep 2010 10:59:11 +0000
(10:59 +0000)
committer
Matthias Wachs
<wachs@net.in.tum.de>
Wed, 1 Sep 2010 10:59:11 +0000
(10:59 +0000)
src/transport/test_plugin_transport_https.c
patch
|
blob
|
history
diff --git
a/src/transport/test_plugin_transport_https.c
b/src/transport/test_plugin_transport_https.c
index 6e33a1675b5246f58c4ecb57fb760a51425f4548..caf7271054ca76534034828428a038ceecb79587 100644
(file)
--- a/
src/transport/test_plugin_transport_https.c
+++ b/
src/transport/test_plugin_transport_https.c
@@
-1217,10
+1217,8
@@
run (void *cls,
"KEY_FILE",
&key_file);
}
- else
- {
+ if (key_file == NULL)
GNUNET_asprintf(&key_file,"https.key");
- }
if (0 == stat (key_file, &sbuf ))
{
@@
-1239,10
+1237,8
@@
run (void *cls,
"CERT_FILE",
&cert_file);
}
- else
- {
+ if (cert_file == NULL)
GNUNET_asprintf(&cert_file,"https.cert");
- }
if (0 == stat (cert_file, &sbuf ))
{