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 | |
parent | 78ad9a3344f8e833cf2c60d61b80dd2c8c6bd268 (diff) |
-more conversation api fixes
-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) GNUNET_assert (GNUNET_YES == success); GNUNET_assert (NULL == emsg); GNUNET_assert (NULL == op); - op = GNUNET_IDENTITY_create (id, "caller-ego", NULL, &caller_ego_create_cont, + op = GNUNET_IDENTITY_create (id, "caller-ego", NULL, + GNUNET_IDENTITY_TYPE_ECDSA, + &caller_ego_create_cont, NULL); } @@ -337,7 +339,9 @@ run (void *cls, cfg = c; GNUNET_SCHEDULER_add_delayed (TIMEOUT, &end_test, NULL); id = GNUNET_IDENTITY_connect (cfg, &identity_cb, NULL); - op = GNUNET_IDENTITY_create (id, "phone-ego", NULL, &phone_ego_create_cont, + op = GNUNET_IDENTITY_create (id, "phone-ego", NULL, + GNUNET_IDENTITY_TYPE_ECDSA, + &phone_ego_create_cont, NULL); ns = GNUNET_NAMESTORE_connect (cfg); } 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) GNUNET_assert (GNUNET_YES == success); GNUNET_assert (NULL == emsg); GNUNET_assert (NULL == op); - op = GNUNET_IDENTITY_create (id, "caller-ego", NULL, &caller_ego_create_cont, + op = GNUNET_IDENTITY_create (id, "caller-ego", NULL, + GNUNET_IDENTITY_TYPE_ECDSA, + &caller_ego_create_cont, NULL); } @@ -614,7 +616,9 @@ run (void *cls, timeout_task = GNUNET_SCHEDULER_add_delayed (TIMEOUT, &end_test, NULL); GNUNET_SCHEDULER_add_shutdown (&do_shutdown, NULL); id = GNUNET_IDENTITY_connect (cfg, &identity_cb, NULL); - op = GNUNET_IDENTITY_create (id, "phone-ego", NULL, &phone_ego_create_cont, + op = GNUNET_IDENTITY_create (id, "phone-ego", NULL, + GNUNET_IDENTITY_TYPE_ECDSA, + &phone_ego_create_cont, NULL); ns = GNUNET_NAMESTORE_connect (cfg); } |