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 | |
parent | 494d9042381b39ce89cfc2d1312482e9907105fb (diff) | |
download | exchange-abe597c0740b81e8ed79250842518c3b8d5ba53f.tar.xz |
fix missing test, wrong type
Diffstat (limited to 'src')
-rw-r--r-- | src/mint/taler-mint-httpd_keystate.c | 2 | ||||
-rw-r--r-- | src/mint/taler-mint-httpd_responses.c | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/mint/taler-mint-httpd_keystate.c b/src/mint/taler-mint-httpd_keystate.c index 210262e6c..0e5f5bb0f 100644 --- a/src/mint/taler-mint-httpd_keystate.c +++ b/src/mint/taler-mint-httpd_keystate.c @@ -385,7 +385,7 @@ TALER_MINT_get_denom_key (const struct MintKeyState *key_state, static void handle_signal (int signal_number) { - size_t res; + ssize_t res; char c = signal_number; if (SIGUSR1 == signal_number) 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, |