diff options
Diffstat (limited to 'src/namestore/test_namestore_api_lookup.c')
-rw-r--r-- | src/namestore/test_namestore_api_lookup.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/namestore/test_namestore_api_lookup.c b/src/namestore/test_namestore_api_lookup.c index 7673e0fa7..d8f6fe056 100644 --- a/src/namestore/test_namestore_api_lookup.c +++ b/src/namestore/test_namestore_api_lookup.c | |||
@@ -45,7 +45,7 @@ static GNUNET_SCHEDULER_TaskIdentifier endbadly_task; | |||
45 | 45 | ||
46 | static struct GNUNET_CRYPTO_EccPrivateKey * privkey; | 46 | static struct GNUNET_CRYPTO_EccPrivateKey * privkey; |
47 | 47 | ||
48 | static struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded pubkey; | 48 | static struct GNUNET_CRYPTO_EccPublicKey pubkey; |
49 | 49 | ||
50 | static struct GNUNET_CRYPTO_EccSignature *s_signature; | 50 | static struct GNUNET_CRYPTO_EccSignature *s_signature; |
51 | 51 | ||
@@ -105,7 +105,7 @@ end (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
105 | 105 | ||
106 | static void | 106 | static void |
107 | name_lookup_proc (void *cls, | 107 | name_lookup_proc (void *cls, |
108 | const struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded *zone_key, | 108 | const struct GNUNET_CRYPTO_EccPublicKey *zone_key, |
109 | struct GNUNET_TIME_Absolute expire, | 109 | struct GNUNET_TIME_Absolute expire, |
110 | const char *n, | 110 | const char *n, |
111 | unsigned int rd_count, | 111 | unsigned int rd_count, |
@@ -119,7 +119,7 @@ name_lookup_proc (void *cls, | |||
119 | { | 119 | { |
120 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Checking returned results\n"); | 120 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Checking returned results\n"); |
121 | if (0 != memcmp (zone_key, &pubkey, | 121 | if (0 != memcmp (zone_key, &pubkey, |
122 | sizeof (struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded))) | 122 | sizeof (struct GNUNET_CRYPTO_EccPublicKey))) |
123 | { | 123 | { |
124 | GNUNET_break (0); | 124 | GNUNET_break (0); |
125 | } | 125 | } |
@@ -243,7 +243,7 @@ run (void *cls, | |||
243 | 243 | ||
244 | /* create random zone hash */ | 244 | /* create random zone hash */ |
245 | GNUNET_CRYPTO_short_hash (&pubkey, | 245 | GNUNET_CRYPTO_short_hash (&pubkey, |
246 | sizeof (struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded), | 246 | sizeof (struct GNUNET_CRYPTO_EccPublicKey), |
247 | &s_zone); | 247 | &s_zone); |
248 | nsh = GNUNET_NAMESTORE_connect (cfg); | 248 | nsh = GNUNET_NAMESTORE_connect (cfg); |
249 | GNUNET_break (NULL != nsh); | 249 | GNUNET_break (NULL != nsh); |