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/util/crypto_helper_denom.c | |
parent | de8e0907aadecf4f97c0eb8230217751f3fd44a1 (diff) |
distinguish between blind and non-blind denomination signatures
Diffstat (limited to 'src/util/crypto_helper_denom.c')
-rw-r--r-- | src/util/crypto_helper_denom.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/util/crypto_helper_denom.c b/src/util/crypto_helper_denom.c index ba56a4e71..4dfd32fbd 100644 --- a/src/util/crypto_helper_denom.c +++ b/src/util/crypto_helper_denom.c @@ -541,7 +541,7 @@ TALER_CRYPTO_helper_denom_poll (struct TALER_CRYPTO_DenominationHelper *dh) } -struct TALER_DenominationSignature +struct TALER_BlindedDenominationSignature TALER_CRYPTO_helper_denom_sign ( struct TALER_CRYPTO_DenominationHelper *dh, const struct TALER_DenominationHash *h_denom_pub, @@ -549,8 +549,8 @@ TALER_CRYPTO_helper_denom_sign ( size_t msg_size, enum TALER_ErrorCode *ec) { - struct TALER_DenominationSignature ds = { - .details.rsa_signature = NULL + struct TALER_BlindedDenominationSignature ds = { + .details.blinded_rsa_signature = NULL }; { char buf[sizeof (struct TALER_CRYPTO_SignRequest) + msg_size]; @@ -652,7 +652,7 @@ TALER_CRYPTO_helper_denom_sign ( } *ec = TALER_EC_NONE; ds.cipher = TALER_DENOMINATION_RSA; - ds.details.rsa_signature = rsa_signature; + ds.details.blinded_rsa_signature = rsa_signature; return ds; } case TALER_HELPER_RSA_MT_RES_SIGN_FAILURE: |