- additional test
authorMatthias Wachs <wachs@net.in.tum.de>
Fri, 9 Mar 2012 10:29:45 +0000 (10:29 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Fri, 9 Mar 2012 10:29:45 +0000 (10:29 +0000)
src/namestore/test_namestore_api_create.c

index 1bda272e6e795b3b581f00f59275e8a76cbb43ca..f42fee2061cadbd863fb9e8a0ce09a67c5722b89 100644 (file)
@@ -176,6 +176,13 @@ void name_lookup_second_proc (void *cls,
       }
     }
 
+    if (GNUNET_OK != GNUNET_NAMESTORE_verify_signature(zone_key, n, rd_count, rd, signature))
+    {
+      GNUNET_break (0);
+      failed = GNUNET_YES;
+    }
+
+
     if (GNUNET_OK != GNUNET_NAMESTORE_verify_signature(&pubkey, n, rd_count, rd, signature))
     {
       GNUNET_break (0);