From 9350e8a4881fce066e16fadce0240233016bed4b Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Thu, 5 Oct 2017 11:14:41 +0100 Subject: [PATCH] =?UTF-8?q?lib/repo:=20Clarify=20that=20ostree=5Frepo=5Fre?= =?UTF-8?q?mote=5Ffetch=5Fsummary()=20doesn=E2=80=99t=20verify?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Make that a bit clearer in the documentation. Signed-off-by: Philip Withnall Closes: #1253 Approved by: cgwalters --- src/libostree/ostree-repo.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/libostree/ostree-repo.c b/src/libostree/ostree-repo.c index 4357d562..59497353 100644 --- a/src/libostree/ostree-repo.c +++ b/src/libostree/ostree-repo.c @@ -1711,6 +1711,9 @@ out: * @NULL. Likewise if the summary file is not signed, @out_signatures is * set to @NULL. In either case the function still returns %TRUE. * + * This method does not verify the signature of the downloaded summary file. + * Use ostree_repo_verify_summary() for that. + * * Parse the summary data into a #GVariant using g_variant_new_from_bytes() * with #OSTREE_SUMMARY_GVARIANT_FORMAT as the format string. *