fix missing test, wrong type

This commit is contained in:
Christian Grothoff 2015-01-30 14:07:27 +01:00
parent 494d904238
commit abe597c074
2 changed files with 4 additions and 3 deletions

View File

@ -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)

View File

@ -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,