diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-08-17 03:56:49 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-08-17 03:56:49 +0200 |
commit | c4a68b896fa0889cc96cc30b2eae38e1996f4300 (patch) | |
tree | 235903f91fbbf4e8ccb3dbe8af54a1a13cb272cd /src/mint-lib/mint_api_json.c | |
parent | 0edac106656769dc172e1e66eee7a01e54e8baaa (diff) | |
download | exchange-c4a68b896fa0889cc96cc30b2eae38e1996f4300.tar.xz |
add internal sig verification, pack hashes, fix testcase
Diffstat (limited to 'src/mint-lib/mint_api_json.c')
-rw-r--r-- | src/mint-lib/mint_api_json.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mint-lib/mint_api_json.c b/src/mint-lib/mint_api_json.c index b15173940..46f54d948 100644 --- a/src/mint-lib/mint_api_json.c +++ b/src/mint-lib/mint_api_json.c @@ -245,6 +245,9 @@ parse_json (json_t *root, &sig.eddsa_signature, spec[i].details.eddsa_signature.pub_key)) { + GNUNET_log (GNUNET_ERROR_TYPE_ERROR, + "Failed to verify signature of purpose %u\n", + ntohl (purpose->purpose)); GNUNET_break_op (0); MAJ_parse_free (sig_spec); return i; |