pos = 0;
while (pos < fsize)
{
- while ((pos < fsize) && isspace ((unsigned char) data[pos]))
+ while ((pos < fsize) && (! isspace ((int) data[pos])))
pos++;
if (GNUNET_OK !=
- GNUNET_CRYPTO_ecc_public_sign_key_from_string (&data[start],
+ GNUNET_CRYPTO_eddsa_public_key_from_string (&data[start],
pos - start,
&pid.public_key))
{
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
- _("Syntax error in topology specification at offset %llu, skipping bytes `%.*s'.\n"),
+ _("Syntax error in FRIENDS file at offset %llu, skipping bytes `%.*s'.\n"),
(unsigned long long) pos,
(int) (pos - start),
&data[start]);
GNUNET_DISK_OPEN_WRITE |
GNUNET_DISK_OPEN_FAILIFEXISTS,
GNUNET_DISK_PERM_USER_READ);
+ GNUNET_free (fn);
if (NULL == w->fh)
{
GNUNET_free (w);
char *ret;
size_t slen;
- ret = GNUNET_CRYPTO_ecc_public_sign_key_to_string (&friend->public_key);
+ ret = GNUNET_CRYPTO_eddsa_public_key_to_string (&friend->public_key);
GNUNET_asprintf (&buf,
"%s\n",
ret);