aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/test_namestore_api_zone_iteration.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/namestore/test_namestore_api_zone_iteration.c')
-rw-r--r--src/namestore/test_namestore_api_zone_iteration.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/namestore/test_namestore_api_zone_iteration.c b/src/namestore/test_namestore_api_zone_iteration.c
index fa641954b..94331f89e 100644
--- a/src/namestore/test_namestore_api_zone_iteration.c
+++ b/src/namestore/test_namestore_api_zone_iteration.c
@@ -160,9 +160,8 @@ zone_proc (void *cls,
160 int failed = GNUNET_NO; 160 int failed = GNUNET_NO;
161 161
162 GNUNET_assert (NULL != zone); 162 GNUNET_assert (NULL != zone);
163 if (0 == memcmp (zone, 163 if (0 == GNUNET_memcmp (zone,
164 privkey, 164 privkey))
165 sizeof (struct GNUNET_CRYPTO_EcdsaPrivateKey)))
166 { 165 {
167 if (0 == strcmp (label, s_name_1)) 166 if (0 == strcmp (label, s_name_1))
168 { 167 {
@@ -207,9 +206,8 @@ zone_proc (void *cls,
207 GNUNET_break (0); 206 GNUNET_break (0);
208 } 207 }
209 } 208 }
210 else if (0 == memcmp (zone, 209 else if (0 == GNUNET_memcmp (zone,
211 privkey2, 210 privkey2))
212 sizeof (struct GNUNET_CRYPTO_EcdsaPrivateKey)))
213 { 211 {
214 if (0 == strcmp (label, s_name_3)) 212 if (0 == strcmp (label, s_name_3))
215 { 213 {