From c750f53d5af9858e2e62f1176664fbe6e7339de6 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 30 Jan 2015 14:08:43 +0100 Subject: TALER_MINT_keys_sign returns void, thus no need to check rvalue --- src/mint/taler-mint-httpd_responses.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/mint/taler-mint-httpd_responses.c') 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, -- cgit v1.2.3