adapt to GNUENT_DISK_fn_write API change
This commit is contained in:
parent
0ad6cb0a86
commit
7877c24ef2
@ -2332,11 +2332,11 @@ tofu_check (const struct TALER_SecurityModulePublicKeyP secm[2])
|
||||
return GNUNET_OK;
|
||||
}
|
||||
/* persist keys for future runs */
|
||||
ret = GNUNET_DISK_fn_write (fn,
|
||||
secm,
|
||||
sizeof (old),
|
||||
GNUNET_DISK_PERM_USER_READ);
|
||||
if (ret != sizeof (old))
|
||||
if (GNUNET_OK !=
|
||||
GNUNET_DISK_fn_write (fn,
|
||||
secm,
|
||||
sizeof (old),
|
||||
GNUNET_DISK_PERM_USER_READ))
|
||||
{
|
||||
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
||||
"Failed to store key material in file `%s'\n",
|
||||
|
Loading…
Reference in New Issue
Block a user