aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-06-26 14:56:25 +0200
committerChristian Grothoff <christian@grothoff.org>2021-06-26 14:56:25 +0200
commitcac8d9360ddf5ca8462932e961ca112c6eed7c66 (patch)
tree4ad3c3f8c86d0f1f3fc0fea0a45a324be7d69277
parent5ca0209a5eaad260b4174a6d8b9789f5bd64409a (diff)
downloadexchange-cac8d9360ddf5ca8462932e961ca112c6eed7c66.tar.gz
exchange-cac8d9360ddf5ca8462932e961ca112c6eed7c66.zip
flush /keys responses if set of auditors changes
-rw-r--r--src/exchange/taler-exchange-httpd_management_auditors.c4
-rw-r--r--src/exchange/taler-exchange-httpd_management_auditors_AP_disable.c2
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 @@
1/* 1/*
2 This file is part of TALER 2 This file is part of TALER
3 Copyright (C) 2020 Taler Systems SA 3 Copyright (C) 2020, 2021 Taler Systems SA
4 4
5 TALER is free software; you can redistribute it and/or modify it under the 5 TALER is free software; you can redistribute it and/or modify it under the
6 terms of the GNU Affero General Public License as published by the Free Software 6 terms of the GNU Affero General Public License as published by the Free Software
@@ -28,6 +28,7 @@
28#include "taler_mhd_lib.h" 28#include "taler_mhd_lib.h"
29#include "taler-exchange-httpd_management.h" 29#include "taler-exchange-httpd_management.h"
30#include "taler-exchange-httpd_responses.h" 30#include "taler-exchange-httpd_responses.h"
31#include "taler-exchange-httpd_keys.h"
31 32
32 33
33/** 34/**
@@ -139,6 +140,7 @@ add_auditor (void *cls,
139 "add auditor"); 140 "add auditor");
140 return qs; 141 return qs;
141 } 142 }
143 TEH_keys_update_states ();
142 return qs; 144 return qs;
143} 145}
144 146
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 @@
28#include "taler_mhd_lib.h" 28#include "taler_mhd_lib.h"
29#include "taler-exchange-httpd_management.h" 29#include "taler-exchange-httpd_management.h"
30#include "taler-exchange-httpd_responses.h" 30#include "taler-exchange-httpd_responses.h"
31#include "taler-exchange-httpd_keys.h"
31 32
32 33
33/** 34/**
@@ -130,6 +131,7 @@ del_auditor (void *cls,
130 "del auditor"); 131 "del auditor");
131 return qs; 132 return qs;
132 } 133 }
134 TEH_keys_update_states ();
133 return qs; 135 return qs;
134} 136}
135 137