aboutsummaryrefslogtreecommitdiff
path: root/src/mint/taler-mint-httpd_responses.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-01-30 14:08:43 +0100
committerChristian Grothoff <christian@grothoff.org>2015-01-30 14:08:43 +0100
commitc750f53d5af9858e2e62f1176664fbe6e7339de6 (patch)
tree17394c27a63965b77b67487a7675d8513d288261 /src/mint/taler-mint-httpd_responses.c
parentabe597c0740b81e8ed79250842518c3b8d5ba53f (diff)
TALER_MINT_keys_sign returns void, thus no need to check rvalue
Diffstat (limited to 'src/mint/taler-mint-httpd_responses.c')
-rw-r--r--src/mint/taler-mint-httpd_responses.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/mint/taler-mint-httpd_responses.c b/src/mint/taler-mint-httpd_responses.c
index c9607a221..bc2c5e488 100644
--- a/src/mint/taler-mint-httpd_responses.c
+++ b/src/mint/taler-mint-httpd_responses.c
@@ -283,14 +283,8 @@ TALER_MINT_reply_deposit_success (struct MHD_Connection *connection,
dc.amount = TALER_amount_hton (*amount);
dc.coin_pub = *coin_pub;
dc.merchant = *merchant;
- 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,
- "Failed to EdDSA-sign response\n");
- }
+ TALER_MINT_keys_sign (&dc.purpose,
+ &sig);
sig_json = TALER_JSON_from_sig (&dc.purpose, &sig);
ret = TALER_MINT_reply_json_pack (connection,
MHD_HTTP_OK,