diff options
Diffstat (limited to 'src/mint/taler-mint-httpd_withdraw.c')
-rw-r--r-- | src/mint/taler-mint-httpd_withdraw.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mint/taler-mint-httpd_withdraw.c b/src/mint/taler-mint-httpd_withdraw.c index 7b7066f80..c23aa70e2 100644 --- a/src/mint/taler-mint-httpd_withdraw.c +++ b/src/mint/taler-mint-httpd_withdraw.c | |||
@@ -93,7 +93,7 @@ TALER_MINT_handler_withdraw_sign (struct RequestHandler *rh, | |||
93 | { | 93 | { |
94 | struct TALER_WithdrawRequest wsrd; | 94 | struct TALER_WithdrawRequest wsrd; |
95 | int res; | 95 | int res; |
96 | const struct GNUNET_CRYPTO_rsa_PublicKey *denomination_pub; | 96 | struct GNUNET_CRYPTO_rsa_PublicKey *denomination_pub; |
97 | char *denomination_pub_data; | 97 | char *denomination_pub_data; |
98 | size_t denomination_pub_data_size; | 98 | size_t denomination_pub_data_size; |
99 | char *blinded_msg; | 99 | char *blinded_msg; |
@@ -152,8 +152,8 @@ TALER_MINT_handler_withdraw_sign (struct RequestHandler *rh, | |||
152 | { | 152 | { |
153 | return 42; // FIXME: generate error reply | 153 | return 42; // FIXME: generate error reply |
154 | } | 154 | } |
155 | denomination_pub = GNUNET_CRYPTO_rsa_private_key_decode (denomination_pub_data, | 155 | denomination_pub = GNUNET_CRYPTO_rsa_public_key_decode (denomination_pub_data, |
156 | denomination_pub_data_size); | 156 | denomination_pub_data_size); |
157 | if (NULL == denomination_pub) | 157 | if (NULL == denomination_pub) |
158 | { | 158 | { |
159 | GNUNET_free (denomination_pub_data); | 159 | GNUNET_free (denomination_pub_data); |