summaryrefslogtreecommitdiff
path: root/src/json
diff options
context:
space:
mode:
Diffstat (limited to 'src/json')
-rw-r--r--src/json/json.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/json/json.c b/src/json/json.c
index af2b84e27..956aad1a5 100644
--- a/src/json/json.c
+++ b/src/json/json.c
@@ -1009,4 +1009,14 @@ TALER_deposit_extension_hash (const json_t *extensions,
}
+enum GNUNET_GenericReturnValue
+TALER_extension_config_hash (const json_t *config,
+ struct TALER_ExtensionConfigHash *ech)
+{
+ return dump_and_hash (config,
+ "taler-extension-configuration",
+ &ech->hash);
+}
+
+
/* End of json/json.c */