aboutsummaryrefslogtreecommitdiff
path: root/src/conversation/conversation_api_call.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/conversation/conversation_api_call.c')
-rw-r--r--src/conversation/conversation_api_call.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/conversation/conversation_api_call.c b/src/conversation/conversation_api_call.c
index 129192bf0..2650eb782 100644
--- a/src/conversation/conversation_api_call.c
+++ b/src/conversation/conversation_api_call.c
@@ -455,7 +455,7 @@ handle_gns_response (void *cls,
455 struct GNUNET_CONVERSATION_Call *call = cls; 455 struct GNUNET_CONVERSATION_Call *call = cls;
456 struct GNUNET_MQ_Envelope *e; 456 struct GNUNET_MQ_Envelope *e;
457 struct ClientCallMessage *ccm; 457 struct ClientCallMessage *ccm;
458 const struct GNUNET_IDENTITY_PrivateKey *caller_id; 458 const struct GNUNET_CRYPTO_PrivateKey *caller_id;
459 size_t key_len; 459 size_t key_len;
460 460
461 (void) was_gns; 461 (void) was_gns;
@@ -475,12 +475,12 @@ handle_gns_response (void *cls,
475 rd[i].data, 475 rd[i].data,
476 rd[i].data_size); 476 rd[i].data_size);
477 caller_id = GNUNET_IDENTITY_ego_get_private_key (call->caller_id); 477 caller_id = GNUNET_IDENTITY_ego_get_private_key (call->caller_id);
478 key_len = GNUNET_IDENTITY_private_key_get_length (caller_id); 478 key_len = GNUNET_CRYPTO_private_key_get_length (caller_id);
479 e = GNUNET_MQ_msg_extra (ccm, key_len, 479 e = GNUNET_MQ_msg_extra (ccm, key_len,
480 GNUNET_MESSAGE_TYPE_CONVERSATION_CS_PHONE_CALL); 480 GNUNET_MESSAGE_TYPE_CONVERSATION_CS_PHONE_CALL);
481 ccm->line_port = call->phone_record.line_port; 481 ccm->line_port = call->phone_record.line_port;
482 ccm->target = call->phone_record.peer; 482 ccm->target = call->phone_record.peer;
483 GNUNET_IDENTITY_write_private_key_to_buffer (caller_id, 483 GNUNET_CRYPTO_write_private_key_to_buffer (caller_id,
484 &ccm[1], key_len); 484 &ccm[1], key_len);
485 ccm->key_len = htonl (key_len); 485 ccm->key_len = htonl (key_len);
486 GNUNET_MQ_send (call->mq, 486 GNUNET_MQ_send (call->mq,