diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2021-05-11 11:26:16 +0200 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2021-05-11 11:26:16 +0200 |
commit | 77fd866573c80dad544cc010fc3fd74ca9cddd93 (patch) | |
tree | d473fa15b5160ac49a959d130d61386cff1d6d7c /src | |
parent | 78ad9a3344f8e833cf2c60d61b80dd2c8c6bd268 (diff) | |
download | gnunet-77fd866573c80dad544cc010fc3fd74ca9cddd93.tar.gz gnunet-77fd866573c80dad544cc010fc3fd74ca9cddd93.zip |
-more conversation api fixes
Diffstat (limited to 'src')
-rw-r--r-- | src/conversation/test_conversation_api_reject.c | 8 | ||||
-rw-r--r-- | src/conversation/test_conversation_api_twocalls.c | 8 |
2 files changed, 12 insertions, 4 deletions
diff --git a/src/conversation/test_conversation_api_reject.c b/src/conversation/test_conversation_api_reject.c index 08c64df37..15728123b 100644 --- a/src/conversation/test_conversation_api_reject.c +++ b/src/conversation/test_conversation_api_reject.c | |||
@@ -255,7 +255,9 @@ namestore_put_cont (void *cls, int32_t success, const char *emsg) | |||
255 | GNUNET_assert (GNUNET_YES == success); | 255 | GNUNET_assert (GNUNET_YES == success); |
256 | GNUNET_assert (NULL == emsg); | 256 | GNUNET_assert (NULL == emsg); |
257 | GNUNET_assert (NULL == op); | 257 | GNUNET_assert (NULL == op); |
258 | op = GNUNET_IDENTITY_create (id, "caller-ego", NULL, &caller_ego_create_cont, | 258 | op = GNUNET_IDENTITY_create (id, "caller-ego", NULL, |
259 | GNUNET_IDENTITY_TYPE_ECDSA, | ||
260 | &caller_ego_create_cont, | ||
259 | NULL); | 261 | NULL); |
260 | } | 262 | } |
261 | 263 | ||
@@ -337,7 +339,9 @@ run (void *cls, | |||
337 | cfg = c; | 339 | cfg = c; |
338 | GNUNET_SCHEDULER_add_delayed (TIMEOUT, &end_test, NULL); | 340 | GNUNET_SCHEDULER_add_delayed (TIMEOUT, &end_test, NULL); |
339 | id = GNUNET_IDENTITY_connect (cfg, &identity_cb, NULL); | 341 | id = GNUNET_IDENTITY_connect (cfg, &identity_cb, NULL); |
340 | op = GNUNET_IDENTITY_create (id, "phone-ego", NULL, &phone_ego_create_cont, | 342 | op = GNUNET_IDENTITY_create (id, "phone-ego", NULL, |
343 | GNUNET_IDENTITY_TYPE_ECDSA, | ||
344 | &phone_ego_create_cont, | ||
341 | NULL); | 345 | NULL); |
342 | ns = GNUNET_NAMESTORE_connect (cfg); | 346 | ns = GNUNET_NAMESTORE_connect (cfg); |
343 | } | 347 | } |
diff --git a/src/conversation/test_conversation_api_twocalls.c b/src/conversation/test_conversation_api_twocalls.c index ac7a3c9dd..9abf91d0b 100644 --- a/src/conversation/test_conversation_api_twocalls.c +++ b/src/conversation/test_conversation_api_twocalls.c | |||
@@ -524,7 +524,9 @@ namestore_put_cont (void *cls, int32_t success, const char *emsg) | |||
524 | GNUNET_assert (GNUNET_YES == success); | 524 | GNUNET_assert (GNUNET_YES == success); |
525 | GNUNET_assert (NULL == emsg); | 525 | GNUNET_assert (NULL == emsg); |
526 | GNUNET_assert (NULL == op); | 526 | GNUNET_assert (NULL == op); |
527 | op = GNUNET_IDENTITY_create (id, "caller-ego", NULL, &caller_ego_create_cont, | 527 | op = GNUNET_IDENTITY_create (id, "caller-ego", NULL, |
528 | GNUNET_IDENTITY_TYPE_ECDSA, | ||
529 | &caller_ego_create_cont, | ||
528 | NULL); | 530 | NULL); |
529 | } | 531 | } |
530 | 532 | ||
@@ -614,7 +616,9 @@ run (void *cls, | |||
614 | timeout_task = GNUNET_SCHEDULER_add_delayed (TIMEOUT, &end_test, NULL); | 616 | timeout_task = GNUNET_SCHEDULER_add_delayed (TIMEOUT, &end_test, NULL); |
615 | GNUNET_SCHEDULER_add_shutdown (&do_shutdown, NULL); | 617 | GNUNET_SCHEDULER_add_shutdown (&do_shutdown, NULL); |
616 | id = GNUNET_IDENTITY_connect (cfg, &identity_cb, NULL); | 618 | id = GNUNET_IDENTITY_connect (cfg, &identity_cb, NULL); |
617 | op = GNUNET_IDENTITY_create (id, "phone-ego", NULL, &phone_ego_create_cont, | 619 | op = GNUNET_IDENTITY_create (id, "phone-ego", NULL, |
620 | GNUNET_IDENTITY_TYPE_ECDSA, | ||
621 | &phone_ego_create_cont, | ||
618 | NULL); | 622 | NULL); |
619 | ns = GNUNET_NAMESTORE_connect (cfg); | 623 | ns = GNUNET_NAMESTORE_connect (cfg); |
620 | } | 624 | } |