diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-10-31 17:56:56 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-10-31 17:56:56 +0100 |
commit | 3eae999efc0cb923aebd2bf7214c5f4093217d4f (patch) | |
tree | 9581fa718e127a79779ee1a095d4e017549f2b5e /src/lib/exchange_api_withdraw2.c | |
parent | de8e0907aadecf4f97c0eb8230217751f3fd44a1 (diff) | |
download | exchange-3eae999efc0cb923aebd2bf7214c5f4093217d4f.tar.xz |
distinguish between blind and non-blind denomination signatures
Diffstat (limited to 'src/lib/exchange_api_withdraw2.c')
-rw-r--r-- | src/lib/exchange_api_withdraw2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/exchange_api_withdraw2.c b/src/lib/exchange_api_withdraw2.c index e001a3154..d50892e5b 100644 --- a/src/lib/exchange_api_withdraw2.c +++ b/src/lib/exchange_api_withdraw2.c @@ -99,10 +99,10 @@ static enum GNUNET_GenericReturnValue reserve_withdraw_ok (struct TALER_EXCHANGE_Withdraw2Handle *wh, const json_t *json) { - struct GNUNET_CRYPTO_RsaSignature *blind_sig; + struct TALER_BlindedDenominationSignature blind_sig; struct GNUNET_JSON_Specification spec[] = { - GNUNET_JSON_spec_rsa_signature ("ev_sig", - &blind_sig), + TALER_JSON_spec_blinded_denom_sig ("ev_sig", + &blind_sig), GNUNET_JSON_spec_end () }; struct TALER_EXCHANGE_HttpResponse hr = { @@ -122,7 +122,7 @@ reserve_withdraw_ok (struct TALER_EXCHANGE_Withdraw2Handle *wh, /* signature is valid, return it to the application */ wh->cb (wh->cb_cls, &hr, - blind_sig); + &blind_sig); /* make sure callback isn't called again after return */ wh->cb = NULL; GNUNET_JSON_parse_free (spec); |