aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-02-11 17:44:18 +0100
committerChristian Grothoff <christian@grothoff.org>2022-02-11 17:44:18 +0100
commit9f77398fe25bb041e58ddd4c994062493275e615 (patch)
treec38d39b6da9d928307db32ec11ea7e2ee405f752 /src/include
parent0eb5b08d50df7ea31d6cf25c4fa41c8686c06e77 (diff)
-fix use of uninit memory in test
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_crypto_lib.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/include/taler_crypto_lib.h b/src/include/taler_crypto_lib.h
index df6dd732c..5e531d90c 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);
/**