diff options
author | Florian Dold <florian@dold.me> | 2021-07-29 18:25:49 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-07-29 18:25:49 +0200 |
commit | eb3c3c3557fd7a5b54cd09dafe3eb404bb9441db (patch) | |
tree | 9a23ec1df11adecaf7313e475eb006ec695d74d6 | |
parent | 2432c593854b555e408bc72d47235c84efff7b6b (diff) | |
download | exchange-eb3c3c3557fd7a5b54cd09dafe3eb404bb9441db.tar.gz exchange-eb3c3c3557fd7a5b54cd09dafe3eb404bb9441db.zip |
remove more dead config
-rw-r--r-- | src/exchange/exchange.conf | 4 | ||||
-rw-r--r-- | src/exchange/taler-exchange-httpd.c | 16 |
2 files changed, 0 insertions, 20 deletions
diff --git a/src/exchange/exchange.conf b/src/exchange/exchange.conf index 69930fab6..39d4422fd 100644 --- a/src/exchange/exchange.conf +++ b/src/exchange/exchange.conf | |||
@@ -2,10 +2,6 @@ | |||
2 | # | 2 | # |
3 | [exchange] | 3 | [exchange] |
4 | 4 | ||
5 | # Directory where the exchange expects to find revocation | ||
6 | # certificates (and where taler-exchange-keyup will write them). | ||
7 | REVOCATION_DIR = ${TALER_DATA_HOME}/exchange/revocations/ | ||
8 | |||
9 | # Master public key used to sign the exchange's various keys | 5 | # Master public key used to sign the exchange's various keys |
10 | # This must be adjusted to your actual installation. | 6 | # This must be adjusted to your actual installation. |
11 | # MASTER_PUBLIC_KEY = 98NJW3CQHZQGQXTY3K85K531XKPAPAVV4Q5V8PYYRR00NJGZWNVG | 7 | # MASTER_PUBLIC_KEY = 98NJW3CQHZQGQXTY3K85K531XKPAPAVV4Q5V8PYYRR00NJGZWNVG |
diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c index 76a71d703..f37035ada 100644 --- a/src/exchange/taler-exchange-httpd.c +++ b/src/exchange/taler-exchange-httpd.c | |||
@@ -79,11 +79,6 @@ struct ExchangeHttpRequestClosure | |||
79 | 79 | ||
80 | 80 | ||
81 | /** | 81 | /** |
82 | * Directory where revocations are stored (global) | ||
83 | */ | ||
84 | char *TEH_revocation_directory; | ||
85 | |||
86 | /** | ||
87 | * Are clients allowed to request /keys for times other than the | 82 | * Are clients allowed to request /keys for times other than the |
88 | * current time? Allowing this could be abused in a DoS-attack | 83 | * current time? Allowing this could be abused in a DoS-attack |
89 | * as building new /keys responses is expensive. Should only be | 84 | * as building new /keys responses is expensive. Should only be |
@@ -1147,17 +1142,6 @@ exchange_serve_process_config (void) | |||
1147 | return GNUNET_SYSERR; | 1142 | return GNUNET_SYSERR; |
1148 | } | 1143 | } |
1149 | if (GNUNET_OK != | 1144 | if (GNUNET_OK != |
1150 | GNUNET_CONFIGURATION_get_value_filename (TEH_cfg, | ||
1151 | "exchange", | ||
1152 | "REVOCATION_DIR", | ||
1153 | &TEH_revocation_directory)) | ||
1154 | { | ||
1155 | GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR, | ||
1156 | "exchange", | ||
1157 | "REVOCATION_DIR"); | ||
1158 | return GNUNET_SYSERR; | ||
1159 | } | ||
1160 | if (GNUNET_OK != | ||
1161 | TALER_config_get_currency (TEH_cfg, | 1145 | TALER_config_get_currency (TEH_cfg, |
1162 | &TEH_currency)) | 1146 | &TEH_currency)) |
1163 | { | 1147 | { |