new GANA code for revoked esign key
This commit is contained in:
parent
57c9054784
commit
efbc411dea
@ -1 +1 @@
|
|||||||
Subproject commit 912dc84dc52a1291b635e19da32c7c824719f8d4
|
Subproject commit e2f247cf9364ea0d441ae4c7b2f0aaa427e03dae
|
@ -175,6 +175,17 @@ verify_and_execute_deposit_confirmation (
|
|||||||
GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY);
|
GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY);
|
||||||
GNUNET_assert (0 == pthread_mutex_unlock (&lock));
|
GNUNET_assert (0 == pthread_mutex_unlock (&lock));
|
||||||
|
|
||||||
|
if (0 == strcmp (cached,
|
||||||
|
"revoked"))
|
||||||
|
{
|
||||||
|
TALER_LOG_WARNING (
|
||||||
|
"Invalid signature on /deposit-confirmation request: key was revoked\n");
|
||||||
|
return TALER_MHD_reply_with_error (connection,
|
||||||
|
MHD_HTTP_GONE,
|
||||||
|
TALER_EC_AUDITOR_EXCHANGE_SIGNING_KEY_REVOKED,
|
||||||
|
"exchange signing key was revoked");
|
||||||
|
}
|
||||||
|
|
||||||
/* check deposit confirmation signature */
|
/* check deposit confirmation signature */
|
||||||
{
|
{
|
||||||
struct TALER_DepositConfirmationPS dcs = {
|
struct TALER_DepositConfirmationPS dcs = {
|
||||||
|
Loading…
Reference in New Issue
Block a user