aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/namestore_api_monitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/namestore/namestore_api_monitor.c')
-rw-r--r--src/namestore/namestore_api_monitor.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/namestore/namestore_api_monitor.c b/src/namestore/namestore_api_monitor.c
index 67715f634..99e3864c9 100644
--- a/src/namestore/namestore_api_monitor.c
+++ b/src/namestore/namestore_api_monitor.c
@@ -142,12 +142,9 @@ check_result (void *cls,
142 const char *rd_ser_tmp; 142 const char *rd_ser_tmp;
143 143
144 (void) cls; 144 (void) cls;
145 if ( (0 != memcmp (&lrm->private_key, 145 if ( (0 != GNUNET_memcmp (&lrm->private_key,
146 &zm->zone, 146 &zm->zone)) &&
147 sizeof (struct GNUNET_CRYPTO_EcdsaPrivateKey))) && 147 (0 != GNUNET_is_zero (&zm->zone)) )
148 (0 != memcmp (&zero,
149 &zm->zone,
150 sizeof (struct GNUNET_CRYPTO_EcdsaPrivateKey))) )
151 { 148 {
152 GNUNET_break (0); 149 GNUNET_break (0);
153 return GNUNET_SYSERR; 150 return GNUNET_SYSERR;