diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-06-18 21:19:27 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-06-18 21:19:27 +0000 |
commit | a4c1a9c44bc82c4e6863f20c63260282767036de (patch) | |
tree | 09576e2fbb5e915e97a4e25cd206c246d78d937d /src/secretsharing/test_secretsharing_api.c | |
parent | 8e3ecd2bc42af4f56562932563a3eef4cc6c33f2 (diff) | |
download | gnunet-a4c1a9c44bc82c4e6863f20c63260282767036de.tar.gz gnunet-a4c1a9c44bc82c4e6863f20c63260282767036de.zip |
update secretsharing to new MQ API
Diffstat (limited to 'src/secretsharing/test_secretsharing_api.c')
-rw-r--r-- | src/secretsharing/test_secretsharing_api.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/secretsharing/test_secretsharing_api.c b/src/secretsharing/test_secretsharing_api.c index 341a33b84..c0d527f13 100644 --- a/src/secretsharing/test_secretsharing_api.c +++ b/src/secretsharing/test_secretsharing_api.c | |||
@@ -33,11 +33,12 @@ static int success; | |||
33 | static struct GNUNET_SECRETSHARING_Session *keygen; | 33 | static struct GNUNET_SECRETSHARING_Session *keygen; |
34 | 34 | ||
35 | 35 | ||
36 | static void secret_ready_cb (void *cls, | 36 | static void |
37 | struct GNUNET_SECRETSHARING_Share *my_share, | 37 | secret_ready_cb (void *cls, |
38 | struct GNUNET_SECRETSHARING_PublicKey *public_key, | 38 | struct GNUNET_SECRETSHARING_Share *my_share, |
39 | unsigned int num_ready_peers, | 39 | struct GNUNET_SECRETSHARING_PublicKey *public_key, |
40 | struct GNUNET_PeerIdentity *ready_peers) | 40 | unsigned int num_ready_peers, |
41 | const struct GNUNET_PeerIdentity *ready_peers) | ||
41 | { | 42 | { |
42 | keygen = NULL; | 43 | keygen = NULL; |
43 | if (num_ready_peers == 1) | 44 | if (num_ready_peers == 1) |