diff options
author | Colin Walters <walters@verbum.org> | 2016-12-05 17:22:46 -0500 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2016-12-06 15:59:35 +0000 |
commit | 4c8fc92aa02dbbd474009b61ca54cf49ef29da56 (patch) | |
tree | 527918c552180f036c90b6228c51b7c59912c965 /src/libostree/ostree-repo-static-delta-private.h | |
parent | 66da1199f0e6bff78b94d54b619c1bc2eed009c6 (diff) | |
download | ostree-4c8fc92aa02dbbd474009b61ca54cf49ef29da56.tar.gz |
lib: Always checksum content in deltas
This is a follow up to conversation on list - in practice, if we're
backing away from summary signing, then it makes sense to remove the
special casing for checksums in deltas around summary signatures.
This is also related to the recent change to enable GPG checking for
commits in deltas - now we have a more coherent story between the
previous pull path and deltas.
I didn't do any performance checking, and while it's slightly annoying
that we're now doing sha256 on the delta content twice (once for the
part and once per object)...sha256 is pretty fast, I think most users
are I/O bound anyways, and it'd drop even farther if we started using
openssl.
Closes: #612
Approved by: jlebon
Diffstat (limited to 'src/libostree/ostree-repo-static-delta-private.h')
-rw-r--r-- | src/libostree/ostree-repo-static-delta-private.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libostree/ostree-repo-static-delta-private.h b/src/libostree/ostree-repo-static-delta-private.h index 31e8971e..6121c482 100644 --- a/src/libostree/ostree-repo-static-delta-private.h +++ b/src/libostree/ostree-repo-static-delta-private.h @@ -141,7 +141,6 @@ typedef struct { gboolean _ostree_static_delta_part_execute (OstreeRepo *repo, GVariant *header, GVariant *part_payload, - gboolean trusted, gboolean stats_only, OstreeDeltaExecuteStats *stats, GCancellable *cancellable, @@ -150,7 +149,6 @@ gboolean _ostree_static_delta_part_execute (OstreeRepo *repo, void _ostree_static_delta_part_execute_async (OstreeRepo *repo, GVariant *header, GVariant *part_payload, - gboolean trusted, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data); |