diff options
Diffstat (limited to 'src/auditor/taler-auditor-httpd_exchange-signkeys-put.c')
-rw-r--r-- | src/auditor/taler-auditor-httpd_exchange-signkeys-put.c | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/src/auditor/taler-auditor-httpd_exchange-signkeys-put.c b/src/auditor/taler-auditor-httpd_exchange-signkeys-put.c index 8e6d7a8ee..e05a1b311 100644 --- a/src/auditor/taler-auditor-httpd_exchange-signkeys-put.c +++ b/src/auditor/taler-auditor-httpd_exchange-signkeys-put.c @@ -1,5 +1,3 @@ - - /* This file is part of TALER Copyright (C) 2024 Taler Systems SA @@ -17,7 +15,6 @@ */ - #include "platform.h" #include <gnunet/gnunet_util_lib.h> #include <gnunet/gnunet_json_lib.h> @@ -58,7 +55,7 @@ process_inconsistency ( /* execute transaction */ qs = TAH_plugin->insert_exchange_signkeys (TAH_plugin->cls, - dc); + dc); if (0 > qs) { GNUNET_break (GNUNET_DB_STATUS_HARD_ERROR == qs); @@ -91,12 +88,11 @@ TAH_EXCHANGE_SIGNKEYS_handler_put ( struct GNUNET_JSON_Specification spec[] = { - GNUNET_JSON_spec_fixed_auto("exchange_pub", &dc.exchange_pub), -GNUNET_JSON_spec_fixed_auto("master_sig", &dc.master_sig), -GNUNET_JSON_spec_int64("ep_valid_from", &dc.ep_valid_from), -GNUNET_JSON_spec_int64("ep_expire_sign", &dc.ep_expire_sign), -GNUNET_JSON_spec_int64("ep_expire_legal", &dc.ep_expire_legal), -GNUNET_JSON_spec_bool("suppressed", &dc.suppressed), + GNUNET_JSON_spec_fixed_auto ("exchange_pub", &dc.exchange_pub), + GNUNET_JSON_spec_fixed_auto ("master_sig", &dc.master_sig), + GNUNET_JSON_spec_int64 ("ep_valid_from", &dc.ep_valid_from), + GNUNET_JSON_spec_int64 ("ep_expire_sign", &dc.ep_expire_sign), + GNUNET_JSON_spec_int64 ("ep_expire_legal", &dc.ep_expire_legal), GNUNET_JSON_spec_end () @@ -160,5 +156,3 @@ TEAH_EXCHANGE_SIGNKEYS_PUT_done (void) { } - -
\ No newline at end of file |