summaryrefslogtreecommitdiff
path: root/src
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 /src
parent5ca0209a5eaad260b4174a6d8b9789f5bd64409a (diff)
downloadexchange-cac8d9360ddf5ca8462932e961ca112c6eed7c66.tar.gz
exchange-cac8d9360ddf5ca8462932e961ca112c6eed7c66.tar.bz2
exchange-cac8d9360ddf5ca8462932e961ca112c6eed7c66.zip
flush /keys responses if set of auditors changes
Diffstat (limited to 'src')
-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 6d700d61..f69580ec 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 eba392a0..7fb02283 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;
}