authentication of ciphertexts (+ seed)
[oweals/gnunet.git] / src / fs / fs_namespace.c
index 903cb07f311ded92765c4c8d7ffdbec0a28ce543..5c1137eb7d8ea72f14f094f932432d59838acee4 100644 (file)
@@ -224,7 +224,7 @@ read_update_information_graph (struct GNUNET_FS_Namespace *ns)
          GNUNET_break (0);
          GNUNET_free (emsg);
          GNUNET_free (n->id);
-         GNUNET_free (n->update);
+         GNUNET_free_non_null (n->update);
          GNUNET_CONTAINER_meta_data_destroy (n->md);
          GNUNET_free (n);
          break;
@@ -416,7 +416,7 @@ advertisement_cont (void *cls,
                        &query,
                        ac->pt_size + sizeof (struct NBlock),
                        ac->nb,
-                       GNUNET_BLOCK_TYPE_NBLOCK,
+                       GNUNET_BLOCK_TYPE_FS_NBLOCK,
                        ac->priority,
                        ac->anonymity,
                        ac->expiration,
@@ -982,7 +982,7 @@ GNUNET_FS_publish_sks (struct GNUNET_FS_Handle *h,
                        &sb_enc->identifier,
                        size,
                        sb_enc,
-                       GNUNET_BLOCK_TYPE_SBLOCK, 
+                       GNUNET_BLOCK_TYPE_FS_SBLOCK, 
                        priority,
                        anonymity,
                        expirationTime,