fix indentation, and properly report vc protocol error if signatures are invalid
This commit is contained in:
parent
dbea8baaff
commit
8577686bbe
@ -813,8 +813,7 @@ decode_keys_json (const json_t *resp_obj,
|
||||
&key_data->master_pub),
|
||||
GNUNET_JSON_spec_absolute_time ("list_issue_date",
|
||||
&key_data->list_issue_date),
|
||||
GNUNET_JSON_spec_relative_time
|
||||
("reserve_closing_delay",
|
||||
GNUNET_JSON_spec_relative_time ("reserve_closing_delay",
|
||||
&key_data->reserve_closing_delay),
|
||||
GNUNET_JSON_spec_end()
|
||||
};
|
||||
@ -1037,6 +1036,7 @@ decode_keys_json (const json_t *resp_obj,
|
||||
return GNUNET_OK;
|
||||
EXITIF_exit:
|
||||
|
||||
*vc = TALER_EXCHANGE_VC_PROTOCOL_ERROR;
|
||||
if (NULL != hash_context)
|
||||
GNUNET_CRYPTO_hash_context_abort (hash_context);
|
||||
return GNUNET_SYSERR;
|
||||
|
Loading…
Reference in New Issue
Block a user