authentication of ciphertexts (+ seed)
[oweals/gnunet.git] / src / fs / test_fs_publish.c
index 6c80cdd510971f950dea453fb8a60f8c0ca85b82..45d1c822a17927c23e03528499e85a4c030b5eb9 100644 (file)
@@ -4,7 +4,7 @@
 
      GNUnet is free software; you can redistribute it and/or modify
      it under the terms of the GNU General Public License as published
-     by the Free Software Foundation; either version 2, or (at your
+     by the Free Software Foundation; either version 3, or (at your
      option) any later version.
 
      GNUnet is distributed in the hope that it will be useful, but
@@ -272,6 +272,7 @@ run (void *cls,
                                                     1,
                                                     42,
                                                     GNUNET_TIME_relative_to_absolute (LIFETIME)); 
+  GNUNET_assert (NULL != fi1);
   fi2 = GNUNET_FS_file_information_create_from_file (fs,
                                                     "publish-context2",
                                                     fn2,
@@ -281,6 +282,7 @@ run (void *cls,
                                                     2,
                                                     42,
                                                     GNUNET_TIME_relative_to_absolute (LIFETIME)); 
+  GNUNET_assert (NULL != fi2);
   fidir = GNUNET_FS_file_information_create_empty_directory (fs,
                                                             "publish-context-dir",
                                                             kuri,