diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-09-13 12:00:01 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-09-13 12:00:01 +0000 |
commit | a35c5a11d32bdd0bc24f64de36fbc6b0d0b20aae (patch) | |
tree | b7768c5cb22e8a4f84d51cbd06dc04861fdb8510 /src/fs/test_fs_uri.c | |
parent | 95d42fdcb47eedcf2747614a22dacd676bc7faae (diff) | |
download | gnunet-a35c5a11d32bdd0bc24f64de36fbc6b0d0b20aae.tar.gz gnunet-a35c5a11d32bdd0bc24f64de36fbc6b0d0b20aae.zip |
splitting 'struct GNUNET_CRYPTO_EccPublicKey' into one struct for signing and another for encryption
Diffstat (limited to 'src/fs/test_fs_uri.c')
-rw-r--r-- | src/fs/test_fs_uri.c | 4 |
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); |