summaryrefslogtreecommitdiff
path: root/src/testing/testing_trait_core_secret.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/testing_trait_core_secret.c')
-rw-r--r--src/testing/testing_trait_core_secret.c21
1 files changed, 3 insertions, 18 deletions
diff --git a/src/testing/testing_trait_core_secret.c b/src/testing/testing_trait_core_secret.c
index 100a249..98eb0db 100644
--- a/src/testing/testing_trait_core_secret.c
+++ b/src/testing/testing_trait_core_secret.c
@@ -29,14 +29,6 @@
#define ANASTASIS_TESTING_TRAIT_CORE_SECRET "anastasis-core-secret"
-/**
- * Obtain the core secret from @a cmd.
- *
- * @param cmd command to extract the core secret from.
- * @param index the index of the core secret (usually 0)
- * @param s[out] set to the core secret coming from @a cmd.
- * @return #GNUNET_OK on success.
- */
int
ANASTASIS_TESTING_get_trait_core_secret (const struct
TALER_TESTING_Command *cmd,
@@ -50,23 +42,16 @@ ANASTASIS_TESTING_get_trait_core_secret (const struct
}
-/**
- * Offer the core secret.
- *
- * @param index the core secret's index number (usually 0).
- * @param s the core secret to offer.
- * @return #GNUNET_OK on success.
- */
struct TALER_TESTING_Trait
-ANASTASIS_TESTING_make_trait_core_secret
- (unsigned int index,
- const void *s)
+ANASTASIS_TESTING_make_trait_core_secret (unsigned int index,
+ const void *s)
{
struct TALER_TESTING_Trait ret = {
.index = index,
.trait_name = ANASTASIS_TESTING_TRAIT_CORE_SECRET,
.ptr = s
};
+
return ret;
}