From 77fd866573c80dad544cc010fc3fd74ca9cddd93 Mon Sep 17 00:00:00 2001 From: Martin Schanzenbach Date: Tue, 11 May 2021 11:26:16 +0200 Subject: -more conversation api fixes --- src/conversation/test_conversation_api_reject.c | 8 ++++++-- 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); } -- cgit v1.2.3