diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-08-09 18:31:26 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-08-09 18:31:26 +0200 |
commit | d0fb01185085d6f4423d5fc2ea726113676749a8 (patch) | |
tree | 9e83635227abebfd68ba2a5ead205fb1b51d2234 /src/mint-lib/mint_api_refresh.c | |
parent | 462d315247610e4223a0a94096e93b6036068e98 (diff) | |
download | exchange-d0fb01185085d6f4423d5fc2ea726113676749a8.tar.gz exchange-d0fb01185085d6f4423d5fc2ea726113676749a8.tar.bz2 exchange-d0fb01185085d6f4423d5fc2ea726113676749a8.zip |
fixing silly bug
Diffstat (limited to 'src/mint-lib/mint_api_refresh.c')
-rw-r--r-- | src/mint-lib/mint_api_refresh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mint-lib/mint_api_refresh.c b/src/mint-lib/mint_api_refresh.c index 442a73e1a..58fe11264 100644 --- a/src/mint-lib/mint_api_refresh.c +++ b/src/mint-lib/mint_api_refresh.c @@ -647,7 +647,7 @@ deserialize_fresh_coin (struct FreshCoin *fc, fc->blinding_key.rsa_blinding_key = GNUNET_CRYPTO_rsa_blinding_key_decode (&buf[sizeof (struct FreshCoinP)], bbuf_size); - if (NULL == fc->blinding_key.rsa_blinding_key) + if (NULL == fc->blinding_key.rsa_blinding_key) { GNUNET_break (0); *ok = GNUNET_NO; @@ -740,7 +740,7 @@ deserialize_melt_data (const char *buf, return NULL; memcpy (&mdp, buf, - buf_size); + sizeof (struct MeltDataP)); md = GNUNET_new (struct MeltData); md->melt_session_hash = mdp.melt_session_hash; for (i=0;i<TALER_CNC_KAPPA;i++) |