diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-04-08 22:52:32 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-04-08 22:52:32 +0200 |
commit | 11b8710a5caac9c81cb0eb6094b363fa46a74809 (patch) | |
tree | a83464349867a655c157e4aab5a4ed9e0bdc3471 /src/exchange-tools/taler-exchange-keyup.c | |
parent | 8e9d6c6fd1dce2dc04258e91673baa083b291600 (diff) |
implement checking of denomination revocation status in auditor
Diffstat (limited to 'src/exchange-tools/taler-exchange-keyup.c')
-rw-r--r-- | src/exchange-tools/taler-exchange-keyup.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/exchange-tools/taler-exchange-keyup.c b/src/exchange-tools/taler-exchange-keyup.c index abf8793c7..f5e5961f0 100644 --- a/src/exchange-tools/taler-exchange-keyup.c +++ b/src/exchange-tools/taler-exchange-keyup.c @@ -1054,7 +1054,7 @@ struct RevokeClosure * @param cls a `struct RevokeClosure` with information about what to revoke * @param dki the denomination key * @param alias coin alias - * @param was_revoked #GNUNET_YES if the @a dki was revoked and wallets should trigger /payback + * @param revocation_master_sig non-NULL if @a dki was revoked * @return #GNUNET_OK to continue to iterate, * #GNUNET_NO to stop iteration with no error, * #GNUNET_SYSERR to abort iteration with error! @@ -1063,11 +1063,11 @@ static int exchange_keys_revoke_by_dki (void *cls, const char *alias, const struct TALER_EXCHANGEDB_DenominationKeyIssueInformation *dki, - int was_revoked) + const struct TALER_MasterSignatureP *revocation_master_sig) { struct RevokeClosure *rc = cls; - if (GNUNET_YES == was_revoked) + if (NULL != revocation_master_sig) return GNUNET_OK; /* refuse to do it twice */ if (0 != memcmp (rc->hc, &dki->issue.properties.denom_hash, |