aboutsummaryrefslogtreecommitdiff
path: root/src/gnunet_chat_contact.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gnunet_chat_contact.c')
-rw-r--r--src/gnunet_chat_contact.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gnunet_chat_contact.c b/src/gnunet_chat_contact.c
index 5b6c1a5..1a64689 100644
--- a/src/gnunet_chat_contact.c
+++ b/src/gnunet_chat_contact.c
@@ -1,6 +1,6 @@
1/* 1/*
2 This file is part of GNUnet. 2 This file is part of GNUnet.
3 Copyright (C) 2021--2022 GNUnet e.V. 3 Copyright (C) 2021--2023 GNUnet e.V.
4 4
5 GNUnet is free software: you can redistribute it and/or modify it 5 GNUnet is free software: you can redistribute it and/or modify it
6 under the terms of the GNU Affero General Public License as published 6 under the terms of the GNU Affero General Public License as published
@@ -63,11 +63,11 @@ contact_update_key (struct GNUNET_CHAT_Contact *contact)
63 if (!(contact->member)) 63 if (!(contact->member))
64 return; 64 return;
65 65
66 const struct GNUNET_IDENTITY_PublicKey *pubkey; 66 const struct GNUNET_CRYPTO_PublicKey *pubkey;
67 pubkey = GNUNET_MESSENGER_contact_get_key(contact->member); 67 pubkey = GNUNET_MESSENGER_contact_get_key(contact->member);
68 68
69 if (pubkey) 69 if (pubkey)
70 contact->public_key = GNUNET_IDENTITY_public_key_to_string(pubkey); 70 contact->public_key = GNUNET_CRYPTO_public_key_to_string(pubkey);
71} 71}
72 72
73struct GNUNET_CHAT_Context* 73struct GNUNET_CHAT_Context*