diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-01-30 14:07:27 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-01-30 14:07:27 +0100 |
commit | abe597c0740b81e8ed79250842518c3b8d5ba53f (patch) | |
tree | 0216a956dddb77b504e68b974107f4241e233f47 /src/mint/taler-mint-httpd_responses.c | |
parent | 494d9042381b39ce89cfc2d1312482e9907105fb (diff) |
fix missing test, wrong type
Diffstat (limited to 'src/mint/taler-mint-httpd_responses.c')
-rw-r--r-- | src/mint/taler-mint-httpd_responses.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mint/taler-mint-httpd_responses.c b/src/mint/taler-mint-httpd_responses.c index 2c46a3246..c9607a221 100644 --- a/src/mint/taler-mint-httpd_responses.c +++ b/src/mint/taler-mint-httpd_responses.c @@ -283,8 +283,9 @@ TALER_MINT_reply_deposit_success (struct MHD_Connection *connection, dc.amount = TALER_amount_hton (*amount); dc.coin_pub = *coin_pub; dc.merchant = *merchant; - TALER_MINT_keys_sign (&dc.purpose, - &sig); + if (GNUNET_OK != + TALER_MINT_keys_sign (&dc.purpose, + &sig)) { LOG_WARNING ("Failed to create EdDSA signature using my private key\n"); return TALER_MINT_reply_internal_error (connection, |