diff options
Diffstat (limited to 'src/namestore/test_namestore_api_zone_iteration_specific_zone.c')
-rw-r--r-- | src/namestore/test_namestore_api_zone_iteration_specific_zone.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/namestore/test_namestore_api_zone_iteration_specific_zone.c b/src/namestore/test_namestore_api_zone_iteration_specific_zone.c index cbcd94cd5..e3c6d698a 100644 --- a/src/namestore/test_namestore_api_zone_iteration_specific_zone.c +++ b/src/namestore/test_namestore_api_zone_iteration_specific_zone.c | |||
@@ -142,9 +142,8 @@ zone_proc (void *cls, | |||
142 | int failed = GNUNET_NO; | 142 | int failed = GNUNET_NO; |
143 | 143 | ||
144 | GNUNET_assert (NULL != zone); | 144 | GNUNET_assert (NULL != zone); |
145 | if (0 == memcmp (zone, | 145 | if (0 == GNUNET_memcmp (zone, |
146 | privkey, | 146 | privkey)) |
147 | sizeof (struct GNUNET_CRYPTO_EcdsaPrivateKey))) | ||
148 | { | 147 | { |
149 | if (0 == strcmp (label, s_name_1)) | 148 | if (0 == strcmp (label, s_name_1)) |
150 | { | 149 | { |
@@ -189,7 +188,7 @@ zone_proc (void *cls, | |||
189 | GNUNET_break (0); | 188 | GNUNET_break (0); |
190 | } | 189 | } |
191 | } | 190 | } |
192 | else if (0 == memcmp (zone, privkey2, sizeof (struct GNUNET_CRYPTO_EcdsaPrivateKey))) | 191 | else if (0 == GNUNET_memcmp (zone, privkey2)) |
193 | { | 192 | { |
194 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 193 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
195 | "Received data for not requested zone\n"); | 194 | "Received data for not requested zone\n"); |