summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_validation.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-04-11 02:37:56 +0200
committerChristian Grothoff <christian@grothoff.org>2016-04-11 02:37:56 +0200
commitb018d4d5b0798bdad6002cb7bbd246247b3ebd4f (patch)
treedebd0b6432d7bdfb67cde6c5bbba27efd9c884b5 /src/exchange/taler-exchange-httpd_validation.h
parent30d66bcebc27a1cdcbad39ddbeeaf047da6cc1dd (diff)
downloadexchange-b018d4d5b0798bdad6002cb7bbd246247b3ebd4f.tar.gz
exchange-b018d4d5b0798bdad6002cb7bbd246247b3ebd4f.tar.bz2
exchange-b018d4d5b0798bdad6002cb7bbd246247b3ebd4f.zip
implementing #4357, but test missing
Diffstat (limited to 'src/exchange/taler-exchange-httpd_validation.h')
-rw-r--r--src/exchange/taler-exchange-httpd_validation.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/exchange/taler-exchange-httpd_validation.h b/src/exchange/taler-exchange-httpd_validation.h
index a5403edd4..bd04994ef 100644
--- a/src/exchange/taler-exchange-httpd_validation.h
+++ b/src/exchange/taler-exchange-httpd_validation.h
@@ -47,10 +47,12 @@ TMH_VALIDATION_done (void);
* a wire address.
*
* @param wire the JSON wire format object
+ * @param ours #GNUNET_YES if the signature should match our master key
* @return #GNUNET_YES if correctly formatted; #GNUNET_NO if not
*/
int
-TMH_json_validate_wireformat (const json_t *wire);
+TMH_json_validate_wireformat (const json_t *wire,
+ int ours);
/**
* Check if we support the given wire method.