#include "gnunet_testing_lib.h"
-#define HOSTKEYFILESIZE 1024
-
/**
* Final status code.
*/
static int
create_hostkeys (const unsigned int no)
{
- static char pad[HOSTKEYFILESIZE];
+ static char pad[GNUNET_TESTING_HOSTKEYFILESIZE];
struct GNUNET_TESTING_System *system;
struct GNUNET_PeerIdentity id;
struct GNUNET_DISK_FileHandle *fd;
ret = GNUNET_DISK_file_write (fd, pkb,
ntohs (pkb->size));
GNUNET_assert (ntohs (pkb->size) == ret);
- GNUNET_assert (ntohs (pkb->size) < HOSTKEYFILESIZE);
- GNUNET_assert (HOSTKEYFILESIZE - ret ==
+ GNUNET_assert (ntohs (pkb->size) < GNUNET_TESTING_HOSTKEYFILESIZE);
+ GNUNET_assert (GNUNET_TESTING_HOSTKEYFILESIZE - ret ==
GNUNET_DISK_file_write (fd, pad,
- HOSTKEYFILESIZE - ret));
+ GNUNET_TESTING_HOSTKEYFILESIZE - ret));
GNUNET_assert (GNUNET_OK == GNUNET_DISK_file_close (fd));
GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, "transport-testing",