diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-01-27 18:52:56 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-01-27 18:52:56 +0100 |
commit | b05a5acc3cb737f9a06fcd6939f853c132de3714 (patch) | |
tree | c466642d90edfda6bd03266ba3c71eadfd2b2598 /src/mint/taler-mint-httpd_withdraw.c | |
parent | 019af0919e3fbe2f831f92728fd95eb7ea505da9 (diff) |
mint-httpd_withdraw compiles again
Diffstat (limited to 'src/mint/taler-mint-httpd_withdraw.c')
-rw-r--r-- | src/mint/taler-mint-httpd_withdraw.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mint/taler-mint-httpd_withdraw.c b/src/mint/taler-mint-httpd_withdraw.c index 1cf410910..7b7066f80 100644 --- a/src/mint/taler-mint-httpd_withdraw.c +++ b/src/mint/taler-mint-httpd_withdraw.c @@ -98,7 +98,7 @@ TALER_MINT_handler_withdraw_sign (struct RequestHandler *rh, size_t denomination_pub_data_size; char *blinded_msg; size_t blinded_msg_len; - const struct GNUNET_CRYPTO_EddsaSignature signature; + struct GNUNET_CRYPTO_EddsaSignature signature; res = TALER_MINT_mhd_request_arg_data (connection, "reserve_pub", @@ -112,7 +112,7 @@ TALER_MINT_handler_withdraw_sign (struct RequestHandler *rh, /* FIXME: handle variable-size signing keys! */ res = TALER_MINT_mhd_request_var_arg_data (connection, "denom_pub", - &denomination_pub_data, + (void **) &denomination_pub_data, &denomination_pub_data_size); if (GNUNET_SYSERR == res) return MHD_NO; /* internal error */ @@ -120,7 +120,7 @@ TALER_MINT_handler_withdraw_sign (struct RequestHandler *rh, return MHD_YES; /* invalid request */ res = TALER_MINT_mhd_request_var_arg_data (connection, "coin_ev", - &blinded_msg, + (void **) &blinded_msg, &blinded_msg_len); if (GNUNET_SYSERR == res) return MHD_NO; /* internal error */ @@ -137,7 +137,7 @@ TALER_MINT_handler_withdraw_sign (struct RequestHandler *rh, /* verify signature! */ wsrd.purpose.size = htonl (sizeof (struct TALER_WithdrawRequest)); - wsrd.purpose.type = htonl (TALER_SIGNATURE_WITHDRAW); + wsrd.purpose.purpose = htonl (TALER_SIGNATURE_WITHDRAW); GNUNET_CRYPTO_hash (denomination_pub_data, denomination_pub_data_size, &wsrd.h_denomination_pub); |