From 9ef4abad615bea12d13be542b8ae5fbeb2dfee32 Mon Sep 17 00:00:00 2001 From: Martin Schanzenbach Date: Wed, 18 Oct 2023 13:37:38 +0200 Subject: NEWS: Refactoring components under src/ into lib/, plugin/, cli/ and service/ This also includes a necessary API refactoring of crypto from IDENTITY to UTIL. --- src/namestore/test_namestore_api_remove.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/namestore/test_namestore_api_remove.c') diff --git a/src/namestore/test_namestore_api_remove.c b/src/namestore/test_namestore_api_remove.c index 9c00cdfad..1a4a7c867 100644 --- a/src/namestore/test_namestore_api_remove.c +++ b/src/namestore/test_namestore_api_remove.c @@ -38,9 +38,9 @@ static struct GNUNET_NAMESTORE_Handle *nsh; static struct GNUNET_SCHEDULER_Task *endbadly_task; -static struct GNUNET_IDENTITY_PrivateKey privkey; +static struct GNUNET_CRYPTO_PrivateKey privkey; -static struct GNUNET_IDENTITY_PublicKey pubkey; +static struct GNUNET_CRYPTO_PublicKey pubkey; static int res; @@ -157,7 +157,7 @@ run (void *cls, NULL); privkey.type = htonl (GNUNET_GNSRECORD_TYPE_PKEY); GNUNET_CRYPTO_ecdsa_key_create (&privkey.ecdsa_key); - GNUNET_IDENTITY_key_get_public (&privkey, + GNUNET_CRYPTO_key_get_public (&privkey, &pubkey); removed = GNUNET_NO; -- cgit v1.2.3