summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_keys.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-02-12 11:42:25 +0100
committerChristian Grothoff <christian@grothoff.org>2022-02-12 11:42:25 +0100
commitea4be7ba6fcbd8ba6860f3fc7234a51c474f4e30 (patch)
tree04722fd0673f9bba13741d8e59426e4ee15b2216 /src/exchange/taler-exchange-httpd_keys.h
parent8a3e88fbf1b7f35baf20dbac747ed025e3ad9f26 (diff)
downloadexchange-ea4be7ba6fcbd8ba6860f3fc7234a51c474f4e30.tar.gz
exchange-ea4be7ba6fcbd8ba6860f3fc7234a51c474f4e30.tar.bz2
exchange-ea4be7ba6fcbd8ba6860f3fc7234a51c474f4e30.zip
-swap argument/rval for nicer code
Diffstat (limited to 'src/exchange/taler-exchange-httpd_keys.h')
-rw-r--r--src/exchange/taler-exchange-httpd_keys.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/exchange/taler-exchange-httpd_keys.h b/src/exchange/taler-exchange-httpd_keys.h
index 07925f7fd..a329c4f12 100644
--- a/src/exchange/taler-exchange-httpd_keys.h
+++ b/src/exchange/taler-exchange-httpd_keys.h
@@ -173,14 +173,13 @@ TEH_keys_denomination_by_hash2 (
*
* @param h_denom_pub hash of the public key to use to sign
* @param bp blinded planchet to sign
- * @param[out] ec set to the error code (or #TALER_EC_NONE on success)
- * @return signature, the value inside the structure will be NULL on failure,
- * see @a ec for details about the failure
+ * @param[out] bs set to the blind signature on success
+ * @return #TALER_EC_NONE on success
*/
-struct TALER_BlindedDenominationSignature
+enum TALER_ErrorCode
TEH_keys_denomination_sign (const struct TALER_DenominationHash *h_denom_pub,
const struct TALER_BlindedPlanchet *bp,
- enum TALER_ErrorCode *ec);
+ struct TALER_BlindedDenominationSignature *bs);
/**