summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-01-17 13:10:42 +0100
committerChristian Grothoff <christian@grothoff.org>2020-01-17 13:10:42 +0100
commit7242b9b9607995ad7358fa59e27dd5ff6f57ca9f (patch)
tree0c53ae6b3e72c9b82de9b02165d6897a0783bdb2 /src
parent4e125d8eda41dcfa7488c96f7b00011a09959c5d (diff)
downloadexchange-7242b9b9607995ad7358fa59e27dd5ff6f57ca9f.tar.gz
exchange-7242b9b9607995ad7358fa59e27dd5ff6f57ca9f.tar.bz2
exchange-7242b9b9607995ad7358fa59e27dd5ff6f57ca9f.zip
add TODO
Diffstat (limited to 'src')
-rw-r--r--src/auditor/taler-auditor-httpd_deposit-confirmation.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/auditor/taler-auditor-httpd_deposit-confirmation.c b/src/auditor/taler-auditor-httpd_deposit-confirmation.c
index 4c80d8aa..4a8890e9 100644
--- a/src/auditor/taler-auditor-httpd_deposit-confirmation.c
+++ b/src/auditor/taler-auditor-httpd_deposit-confirmation.c
@@ -67,6 +67,11 @@ verify_and_execute_deposit_confirmation (struct MHD_Connection *connection,
TALER_EC_DEPOSIT_CONFIRMATION_SIGNATURE_INVALID,
"master_sig (expired)");
}
+
+ /* TODO: consider having an in-memory cache of already
+ verified exchange signing keys, this could save us
+ a signature check AND a database transaction per
+ operation. */
/* check exchange signing key signature */
skv.purpose.purpose = htonl (TALER_SIGNATURE_MASTER_SIGNING_KEY_VALIDITY);
skv.purpose.size = htonl (sizeof (struct TALER_ExchangeSigningKeyValidityPS));