diff --git a/rhizome.c b/rhizome.c index 43f2d538..9e9bf4c1 100644 --- a/rhizome.c +++ b/rhizome.c @@ -66,6 +66,9 @@ int rhizome_bundle_import_files(const char *manifest_path, const char *payload_p else if (rhizome_manifest_verify(m)) ret = WHY("Verification of manifest file failed"); else { + /* Make sure we store signatures */ + m->manifest_bytes=m->manifest_all_bytes; + m->dataFileName = strdup(payload_path); if (rhizome_manifest_check_file(m)) ret = WHY("Payload does not belong to manifest"); diff --git a/rhizome_database.c b/rhizome_database.c index 2f411fb4..1220093b 100644 --- a/rhizome_database.c +++ b/rhizome_database.c @@ -1465,8 +1465,6 @@ int rhizome_import_from_files(const char *manifestpath,const char *filepath) } else { /* Make sure we store signatures */ m->manifest_bytes=m->manifest_all_bytes; - DEBUGF("selfsignedP=%d", - rhizome_is_self_signed(m)); /* Add the manifest and its associated file to the Rhizome database. */ m->dataFileName = strdup(filepath);