aboutsummaryrefslogtreecommitdiff
path: root/src/fs/test_fs_uri.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/test_fs_uri.c')
-rw-r--r--src/fs/test_fs_uri.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/test_fs_uri.c b/src/fs/test_fs_uri.c
index 0d3aeaf41..1e1bd8fb8 100644
--- a/src/fs/test_fs_uri.c
+++ b/src/fs/test_fs_uri.c
@@ -164,7 +164,7 @@ testNamespace (int i)
164 struct GNUNET_FS_Uri *ret; 164 struct GNUNET_FS_Uri *ret;
165 char *emsg; 165 char *emsg;
166 struct GNUNET_CRYPTO_EccPrivateKey *ph; 166 struct GNUNET_CRYPTO_EccPrivateKey *ph;
167 struct GNUNET_CRYPTO_EccPublicKey id; 167 struct GNUNET_CRYPTO_EccPublicSignKey id;
168 char buf[1024]; 168 char buf[1024];
169 char ubuf[1024]; 169 char ubuf[1024];
170 char *sret; 170 char *sret;
@@ -194,7 +194,7 @@ testNamespace (int i)
194 } 194 }
195 GNUNET_free (emsg); 195 GNUNET_free (emsg);
196 ph = GNUNET_CRYPTO_ecc_key_create (); 196 ph = GNUNET_CRYPTO_ecc_key_create ();
197 GNUNET_CRYPTO_ecc_key_get_public (ph, &id); 197 GNUNET_CRYPTO_ecc_key_get_public_for_signature (ph, &id);
198 sret = GNUNET_STRINGS_data_to_string (&id, sizeof (id), 198 sret = GNUNET_STRINGS_data_to_string (&id, sizeof (id),
199 ubuf, sizeof (ubuf) - 1); 199 ubuf, sizeof (ubuf) - 1);
200 GNUNET_assert (NULL != sret); 200 GNUNET_assert (NULL != sret);