aboutsummaryrefslogtreecommitdiff
path: root/src/testing/gnunet-testing.c
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2012-10-05 14:12:49 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2012-10-05 14:12:49 +0000
commit87566df009e48391b08d3f1cdf3dedf7debcac7b (patch)
treee56d091c02b989535754dbd723c39d30620aa905 /src/testing/gnunet-testing.c
parent69d9d1763c430be814457f744b468140d278e3e9 (diff)
downloadgnunet-87566df009e48391b08d3f1cdf3dedf7debcac7b.tar.gz
gnunet-87566df009e48391b08d3f1cdf3dedf7debcac7b.zip
testing now includes valid hostname rewriting
Diffstat (limited to 'src/testing/gnunet-testing.c')
-rw-r--r--src/testing/gnunet-testing.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testing/gnunet-testing.c b/src/testing/gnunet-testing.c
index 77d2cf415..cc5c6f50c 100644
--- a/src/testing/gnunet-testing.c
+++ b/src/testing/gnunet-testing.c
@@ -77,7 +77,7 @@ create_unique_cfgs (const char * template, const unsigned int no)
77 } 77 }
78 78
79 fail = GNUNET_NO; 79 fail = GNUNET_NO;
80 system = GNUNET_TESTING_system_create ("testing", NULL /* controller */); 80 system = GNUNET_TESTING_system_create ("testing", NULL /* controller */, NULL);
81 for (cur = 0; cur < no; cur++) 81 for (cur = 0; cur < no; cur++)
82 { 82 {
83 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Creating configuration no. %u \n", cur); 83 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Creating configuration no. %u \n", cur);
@@ -124,7 +124,7 @@ create_hostkeys (const unsigned int no)
124 struct GNUNET_CRYPTO_RsaPrivateKey *pk; 124 struct GNUNET_CRYPTO_RsaPrivateKey *pk;
125 struct GNUNET_CRYPTO_RsaPrivateKeyBinaryEncoded *pkb; 125 struct GNUNET_CRYPTO_RsaPrivateKeyBinaryEncoded *pkb;
126 126
127 system = GNUNET_TESTING_system_create ("testing", NULL); 127 system = GNUNET_TESTING_system_create ("testing", NULL, NULL);
128 pk = GNUNET_TESTING_hostkey_get (system, create_no, &id); 128 pk = GNUNET_TESTING_hostkey_get (system, create_no, &id);
129 if (NULL == pk) 129 if (NULL == pk)
130 { 130 {