aboutsummaryrefslogtreecommitdiff
path: root/src/testing/gnunet-testing.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-06-19 08:02:47 +0000
committerChristian Grothoff <christian@grothoff.org>2012-06-19 08:02:47 +0000
commitebd2cf0e07c0dca2cc81282e8d7d1eb2a9dcffb0 (patch)
tree2107c29be1b9e7c31f9ed002f8fb6c7622bbd51b /src/testing/gnunet-testing.c
parent92ab0a2e11b3b3c5dec664383370d0dab3c30974 (diff)
downloadgnunet-ebd2cf0e07c0dca2cc81282e8d7d1eb2a9dcffb0.tar.gz
gnunet-ebd2cf0e07c0dca2cc81282e8d7d1eb2a9dcffb0.zip
-use testing to create hostkey during peerinfo tool test
Diffstat (limited to 'src/testing/gnunet-testing.c')
-rw-r--r--src/testing/gnunet-testing.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/testing/gnunet-testing.c b/src/testing/gnunet-testing.c
index bce0c7522..fa7e8d61e 100644
--- a/src/testing/gnunet-testing.c
+++ b/src/testing/gnunet-testing.c
@@ -131,6 +131,7 @@ create_hostkeys (const unsigned int no)
131 fprintf (stderr, _("Could not extract hostkey %u (offset too large?)\n"), create_no); 131 fprintf (stderr, _("Could not extract hostkey %u (offset too large?)\n"), create_no);
132 return 1; 132 return 1;
133 } 133 }
134 (void) GNUNET_DISK_directory_create_for_file (create_hostkey);
134 fd = GNUNET_DISK_file_open (create_hostkey, 135 fd = GNUNET_DISK_file_open (create_hostkey,
135 GNUNET_DISK_OPEN_READWRITE | 136 GNUNET_DISK_OPEN_READWRITE |
136 GNUNET_DISK_OPEN_CREATE, 137 GNUNET_DISK_OPEN_CREATE,