From 9f77398fe25bb041e58ddd4c994062493275e615 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 11 Feb 2022 17:44:18 +0100 Subject: -fix use of uninit memory in test --- src/include/taler_crypto_lib.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/include/taler_crypto_lib.h') diff --git a/src/include/taler_crypto_lib.h b/src/include/taler_crypto_lib.h index df6dd732..5e531d90 100644 --- a/src/include/taler_crypto_lib.h +++ b/src/include/taler_crypto_lib.h @@ -1982,16 +1982,14 @@ TALER_CRYPTO_helper_cs_revoke ( * @param dh helper to process connection * @param h_cs hash of the CS public key to revoke * @param nonce witdhraw nonce - * @param[out] ec set to the error code (or #TALER_EC_NONE on success) - * @return R, the value inside the structure will be NULL on failure, - * see @a ec for details about the failure + * @param[out] crp set to the pair of R values + * @return set to the error code (or #TALER_EC_NONE on success) */ -// FIXME: swap rval and ec! -struct TALER_DenominationCSPublicRPairP +enum TALER_ErrorCode TALER_CRYPTO_helper_cs_r_derive (struct TALER_CRYPTO_CsDenominationHelper *dh, const struct TALER_CsPubHashP *h_cs, const struct TALER_CsNonce *nonce, - enum TALER_ErrorCode *ec); + struct TALER_DenominationCSPublicRPairP *crp); /** -- cgit v1.2.3