diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-06-26 14:56:25 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-06-26 14:56:25 +0200 |
commit | cac8d9360ddf5ca8462932e961ca112c6eed7c66 (patch) | |
tree | 4ad3c3f8c86d0f1f3fc0fea0a45a324be7d69277 /src | |
parent | 5ca0209a5eaad260b4174a6d8b9789f5bd64409a (diff) |
flush /keys responses if set of auditors changes
Diffstat (limited to 'src')
-rw-r--r-- | src/exchange/taler-exchange-httpd_management_auditors.c | 4 | ||||
-rw-r--r-- | src/exchange/taler-exchange-httpd_management_auditors_AP_disable.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/exchange/taler-exchange-httpd_management_auditors.c b/src/exchange/taler-exchange-httpd_management_auditors.c index 6d700d612..f69580ec0 100644 --- a/src/exchange/taler-exchange-httpd_management_auditors.c +++ b/src/exchange/taler-exchange-httpd_management_auditors.c @@ -1,6 +1,6 @@ /* This file is part of TALER - Copyright (C) 2020 Taler Systems SA + Copyright (C) 2020, 2021 Taler Systems SA TALER is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software @@ -28,6 +28,7 @@ #include "taler_mhd_lib.h" #include "taler-exchange-httpd_management.h" #include "taler-exchange-httpd_responses.h" +#include "taler-exchange-httpd_keys.h" /** @@ -139,6 +140,7 @@ add_auditor (void *cls, "add auditor"); return qs; } + TEH_keys_update_states (); return qs; } diff --git a/src/exchange/taler-exchange-httpd_management_auditors_AP_disable.c b/src/exchange/taler-exchange-httpd_management_auditors_AP_disable.c index eba392a00..7fb022835 100644 --- a/src/exchange/taler-exchange-httpd_management_auditors_AP_disable.c +++ b/src/exchange/taler-exchange-httpd_management_auditors_AP_disable.c @@ -28,6 +28,7 @@ #include "taler_mhd_lib.h" #include "taler-exchange-httpd_management.h" #include "taler-exchange-httpd_responses.h" +#include "taler-exchange-httpd_keys.h" /** @@ -130,6 +131,7 @@ del_auditor (void *cls, "del auditor"); return qs; } + TEH_keys_update_states (); return qs; } |