aboutsummaryrefslogtreecommitdiff
path: root/src/mint-lib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-07-09 13:01:39 +0200
committerChristian Grothoff <christian@grothoff.org>2015-07-09 13:01:39 +0200
commitd88048e4b91bf79db44c6f97be03c44311c9568f (patch)
treec1ef82f1291dd31de3ad8704a482b6039ab18e37 /src/mint-lib
parenta24171d0fadbed579985e0267670ce524a1a5ab8 (diff)
fix transaction ID conversion in DB
Diffstat (limited to 'src/mint-lib')
-rw-r--r--src/mint-lib/mint_api_json.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mint-lib/mint_api_json.c b/src/mint-lib/mint_api_json.c
index 25876e07a..8b0b54375 100644
--- a/src/mint-lib/mint_api_json.c
+++ b/src/mint-lib/mint_api_json.c
@@ -23,7 +23,6 @@
#include "platform.h"
#include "mint_api_json.h"
-
/**
* Navigate and parse data in a JSON tree.
*
@@ -239,6 +238,7 @@ parse_json (json_t *root,
MAJ_parse_free (sig_spec);
return i;
}
+
if (GNUNET_OK !=
GNUNET_CRYPTO_eddsa_verify (ntohl (purpose->purpose),
purpose,
@@ -306,6 +306,7 @@ parse_free (struct MAJ_Specification *spec,
case MAJ_CMD_EDDSA_SIGNATURE:
GNUNET_free (*spec[i].details.eddsa_signature.purpose_p);
*spec[i].details.eddsa_signature.purpose_p = NULL;
+ break;
default:
GNUNET_break (0);
break;