summaryrefslogtreecommitdiff
path: root/src/testing/testing_api_trait_salt.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-08-02 11:27:16 +0200
committerChristian Grothoff <christian@grothoff.org>2021-08-02 11:27:43 +0200
commit3e8be4c4f824a09df14734ac4ccb9bcc5b2535d2 (patch)
tree44e598cf0c7f40be1d9d28a00a51225bc9223198 /src/testing/testing_api_trait_salt.c
parent180bd952704ec7661cb7c6a8e3233d86d5e72598 (diff)
downloadanastasis-3e8be4c4f824a09df14734ac4ccb9bcc5b2535d2.tar.gz
anastasis-3e8be4c4f824a09df14734ac4ccb9bcc5b2535d2.tar.bz2
anastasis-3e8be4c4f824a09df14734ac4ccb9bcc5b2535d2.zip
-doxygen fixes
Diffstat (limited to 'src/testing/testing_api_trait_salt.c')
-rw-r--r--src/testing/testing_api_trait_salt.c24
1 files changed, 5 insertions, 19 deletions
diff --git a/src/testing/testing_api_trait_salt.c b/src/testing/testing_api_trait_salt.c
index 116742f..c4ceb55 100644
--- a/src/testing/testing_api_trait_salt.c
+++ b/src/testing/testing_api_trait_salt.c
@@ -29,17 +29,9 @@
#define ANASTASIS_TESTING_TRAIT_SALT "anastasis-provider-salt"
-/**
- * Obtain a salt from @a cmd.
- *
- * @param cmd command to extract the salt from.
- * @param index the salt's index number.
- * @param s[out] set to the salt coming from @a cmd.
- * @return #GNUNET_OK on success.
- */
int
-ANASTASIS_TESTING_get_trait_salt
- (const struct TALER_TESTING_Command *cmd,
+ANASTASIS_TESTING_get_trait_salt (
+ const struct TALER_TESTING_Command *cmd,
unsigned int index,
const struct ANASTASIS_CRYPTO_ProviderSaltP **s)
{
@@ -50,16 +42,9 @@ ANASTASIS_TESTING_get_trait_salt
}
-/**
- * Offer an salt.
- *
- * @param index the salt's index number.
- * @param u the salt to offer.
- * @return #GNUNET_OK on success.
- */
struct TALER_TESTING_Trait
-ANASTASIS_TESTING_make_trait_salt
- (unsigned int index,
+ANASTASIS_TESTING_make_trait_salt (
+ unsigned int index,
const struct ANASTASIS_CRYPTO_ProviderSaltP *s)
{
struct TALER_TESTING_Trait ret = {
@@ -67,6 +52,7 @@ ANASTASIS_TESTING_make_trait_salt
.trait_name = ANASTASIS_TESTING_TRAIT_SALT,
.ptr = (const void *) s
};
+
return ret;
}