diff options
author | jospaeth <spaethj@in.tum.de> | 2020-05-25 21:38:58 +0200 |
---|---|---|
committer | jospaeth <spaethj@in.tum.de> | 2020-05-25 21:38:58 +0200 |
commit | a32de45ceffeb69038ecfa7b963f30b7fed83a41 (patch) | |
tree | 76a39adcf7163c71e470b7c5bf4357dd5471cf9c /src/conversation/test_conversation_api_twocalls.c | |
parent | 19cd0e6d0eca5192a9c8f4f005abd85d531949f1 (diff) | |
download | gnunet-a32de45ceffeb69038ecfa7b963f30b7fed83a41.tar.gz gnunet-a32de45ceffeb69038ecfa7b963f30b7fed83a41.zip |
add option to create identity from private keyspaeth/import_identity
Diffstat (limited to 'src/conversation/test_conversation_api_twocalls.c')
-rw-r--r-- | src/conversation/test_conversation_api_twocalls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conversation/test_conversation_api_twocalls.c b/src/conversation/test_conversation_api_twocalls.c index fab49f7d7..6d434a3e1 100644 --- a/src/conversation/test_conversation_api_twocalls.c +++ b/src/conversation/test_conversation_api_twocalls.c | |||
@@ -524,7 +524,7 @@ 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", &caller_ego_create_cont, NULL); | 527 | op = GNUNET_IDENTITY_create (id, "caller-ego", NULL, &caller_ego_create_cont, NULL); |
528 | } | 528 | } |
529 | 529 | ||
530 | 530 | ||
@@ -613,7 +613,7 @@ run (void *cls, | |||
613 | timeout_task = GNUNET_SCHEDULER_add_delayed (TIMEOUT, &end_test, NULL); | 613 | timeout_task = GNUNET_SCHEDULER_add_delayed (TIMEOUT, &end_test, NULL); |
614 | GNUNET_SCHEDULER_add_shutdown (&do_shutdown, NULL); | 614 | GNUNET_SCHEDULER_add_shutdown (&do_shutdown, NULL); |
615 | id = GNUNET_IDENTITY_connect (cfg, &identity_cb, NULL); | 615 | id = GNUNET_IDENTITY_connect (cfg, &identity_cb, NULL); |
616 | op = GNUNET_IDENTITY_create (id, "phone-ego", &phone_ego_create_cont, NULL); | 616 | op = GNUNET_IDENTITY_create (id, "phone-ego", NULL, &phone_ego_create_cont, NULL); |
617 | ns = GNUNET_NAMESTORE_connect (cfg); | 617 | ns = GNUNET_NAMESTORE_connect (cfg); |
618 | } | 618 | } |
619 | 619 | ||