handle error code returned by TALER_EXCHANGEDB_denomination_keys_iterate
This commit is contained in:
parent
7a259fb7bd
commit
46c7647b27
@ -1150,10 +1150,15 @@ revoke_denomination (const struct GNUNET_HashCode *hc)
|
|||||||
"KEYDIR");
|
"KEYDIR");
|
||||||
return GNUNET_SYSERR;
|
return GNUNET_SYSERR;
|
||||||
}
|
}
|
||||||
|
if (-1 ==
|
||||||
TALER_EXCHANGEDB_denomination_keys_iterate (rc.basedir,
|
TALER_EXCHANGEDB_denomination_keys_iterate (rc.basedir,
|
||||||
&master_public_key,
|
&master_public_key,
|
||||||
&exchange_keys_revoke_by_dki,
|
&exchange_keys_revoke_by_dki,
|
||||||
&rc);
|
&rc))
|
||||||
|
{
|
||||||
|
GNUNET_break (0);
|
||||||
|
return GNUNET_SYSERR;
|
||||||
|
}
|
||||||
GNUNET_free (rc.basedir);
|
GNUNET_free (rc.basedir);
|
||||||
return rc.ok;
|
return rc.ok;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user