aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2012-03-15 13:06:45 +0000
committerMartin Schanzenbach <mschanzenbach@posteo.de>2012-03-15 13:06:45 +0000
commitee28d54c6b7f1d1dbcb518b7b3f577cb192b401a (patch)
tree26bb7c357c89b3bface846a21625203b75db107c
parentaa9d926aadca2a8a67ed09f9031f7652297cad44 (diff)
downloadgnunet-ee28d54c6b7f1d1dbcb518b7b3f577cb192b401a.tar.gz
gnunet-ee28d54c6b7f1d1dbcb518b7b3f577cb192b401a.zip
-fix config parsing for tests
-rw-r--r--src/gns/test_gns_simple_get_authority.c2
-rw-r--r--src/gns/test_gns_simple_shorten.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gns/test_gns_simple_get_authority.c b/src/gns/test_gns_simple_get_authority.c
index da8cdcbb6..bc32e3961 100644
--- a/src/gns/test_gns_simple_get_authority.c
+++ b/src/gns/test_gns_simple_get_authority.c
@@ -212,7 +212,7 @@ do_shorten(void *cls, const struct GNUNET_PeerIdentity *id,
212 return; 212 return;
213 } 213 }
214 214
215 if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_string (cfg, "gns", 215 if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_filename (cfg, "gns",
216 "ZONEKEY", 216 "ZONEKEY",
217 &our_keyfile)) 217 &our_keyfile))
218 { 218 {
diff --git a/src/gns/test_gns_simple_shorten.c b/src/gns/test_gns_simple_shorten.c
index 8f93c471f..1cd8668b5 100644
--- a/src/gns/test_gns_simple_shorten.c
+++ b/src/gns/test_gns_simple_shorten.c
@@ -212,7 +212,7 @@ do_shorten(void *cls, const struct GNUNET_PeerIdentity *id,
212 return; 212 return;
213 } 213 }
214 214
215 if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_string (cfg, "gns", 215 if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_filename (cfg, "gns",
216 "ZONEKEY", 216 "ZONEKEY",
217 &our_keyfile)) 217 &our_keyfile))
218 { 218 {