diff options
Diffstat (limited to 'src/conversation/test_conversation_api.c')
-rw-r--r-- | src/conversation/test_conversation_api.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/conversation/test_conversation_api.c b/src/conversation/test_conversation_api.c index 22e9b1dd9..2e804a485 100644 --- a/src/conversation/test_conversation_api.c +++ b/src/conversation/test_conversation_api.c | |||
@@ -305,7 +305,7 @@ static void | |||
305 | phone_event_handler (void *cls, | 305 | phone_event_handler (void *cls, |
306 | enum GNUNET_CONVERSATION_PhoneEventCode code, | 306 | enum GNUNET_CONVERSATION_PhoneEventCode code, |
307 | struct GNUNET_CONVERSATION_Caller *caller, | 307 | struct GNUNET_CONVERSATION_Caller *caller, |
308 | const struct GNUNET_IDENTITY_PublicKey *caller_id) | 308 | const struct GNUNET_CRYPTO_PublicKey *caller_id) |
309 | { | 309 | { |
310 | static enum GNUNET_CONVERSATION_PhoneEventCode expect = | 310 | static enum GNUNET_CONVERSATION_PhoneEventCode expect = |
311 | GNUNET_CONVERSATION_EC_PHONE_RING; | 311 | GNUNET_CONVERSATION_EC_PHONE_RING; |
@@ -385,7 +385,7 @@ call_event_handler (void *cls, enum GNUNET_CONVERSATION_CallEventCode code) | |||
385 | 385 | ||
386 | static void | 386 | static void |
387 | caller_ego_create_cont (void *cls, | 387 | caller_ego_create_cont (void *cls, |
388 | const struct GNUNET_IDENTITY_PrivateKey *pk, | 388 | const struct GNUNET_CRYPTO_PrivateKey *pk, |
389 | enum GNUNET_ErrorCode ec) | 389 | enum GNUNET_ErrorCode ec) |
390 | { | 390 | { |
391 | (void) cls; | 391 | (void) cls; |
@@ -402,7 +402,7 @@ namestore_put_cont (void *cls, enum GNUNET_ErrorCode ec) | |||
402 | GNUNET_assert (GNUNET_EC_NONE == ec); | 402 | GNUNET_assert (GNUNET_EC_NONE == ec); |
403 | GNUNET_assert (NULL == op); | 403 | GNUNET_assert (NULL == op); |
404 | op = GNUNET_IDENTITY_create (id, "caller-ego", NULL, | 404 | op = GNUNET_IDENTITY_create (id, "caller-ego", NULL, |
405 | GNUNET_IDENTITY_TYPE_ECDSA, | 405 | GNUNET_PUBLIC_KEY_TYPE_ECDSA, |
406 | &caller_ego_create_cont, | 406 | &caller_ego_create_cont, |
407 | NULL); | 407 | NULL); |
408 | } | 408 | } |
@@ -415,7 +415,7 @@ identity_cb (void *cls, | |||
415 | const char *name) | 415 | const char *name) |
416 | { | 416 | { |
417 | struct GNUNET_GNSRECORD_Data rd; | 417 | struct GNUNET_GNSRECORD_Data rd; |
418 | struct GNUNET_IDENTITY_PublicKey pub; | 418 | struct GNUNET_CRYPTO_PublicKey pub; |
419 | 419 | ||
420 | (void) cls; | 420 | (void) cls; |
421 | (void) ctx; | 421 | (void) ctx; |
@@ -466,7 +466,7 @@ identity_cb (void *cls, | |||
466 | 466 | ||
467 | static void | 467 | static void |
468 | phone_ego_create_cont (void *cls, | 468 | phone_ego_create_cont (void *cls, |
469 | const struct GNUNET_IDENTITY_PrivateKey *pk, | 469 | const struct GNUNET_CRYPTO_PrivateKey *pk, |
470 | enum GNUNET_ErrorCode ec) | 470 | enum GNUNET_ErrorCode ec) |
471 | { | 471 | { |
472 | (void) cls; | 472 | (void) cls; |
@@ -486,7 +486,7 @@ run (void *cls, | |||
486 | GNUNET_SCHEDULER_add_delayed (TIMEOUT, &end_test, NULL); | 486 | GNUNET_SCHEDULER_add_delayed (TIMEOUT, &end_test, NULL); |
487 | id = GNUNET_IDENTITY_connect (cfg, &identity_cb, NULL); | 487 | id = GNUNET_IDENTITY_connect (cfg, &identity_cb, NULL); |
488 | op = GNUNET_IDENTITY_create (id, "phone-ego", NULL, | 488 | op = GNUNET_IDENTITY_create (id, "phone-ego", NULL, |
489 | GNUNET_IDENTITY_TYPE_ECDSA, | 489 | GNUNET_PUBLIC_KEY_TYPE_ECDSA, |
490 | &phone_ego_create_cont, | 490 | &phone_ego_create_cont, |
491 | NULL); | 491 | NULL); |
492 | ns = GNUNET_NAMESTORE_connect (cfg); | 492 | ns = GNUNET_NAMESTORE_connect (cfg); |