-fix time assertion introduce in last patch
[oweals/gnunet.git] / src / dht / plugin_block_dht.c
index d6798f18cfb936b3e5e64cda012f628aff707126..1ecb39e27d6c31d137a24713ebd24bab222d58f5 100644 (file)
@@ -147,6 +147,7 @@ block_plugin_dht_get_key (void *cls, enum GNUNET_BLOCK_Type type,
     return GNUNET_NO;
   }
   hello = block;
+  memset (key, 0, sizeof (*key));
   pid = (struct GNUNET_PeerIdentity *) key;
   if (GNUNET_OK != GNUNET_HELLO_get_id (hello, pid))
   {