From: Colin Walters Date: Sat, 19 Nov 2016 01:23:13 +0000 (-0500) Subject: pull: Use new per-remote API for GPG verification X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~43^2~9 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=cb57338a12819b0b1221cda62616a0aeb5d5f489;p=ostree.git pull: Use new per-remote API for GPG verification Trivial change, but makes things more obvious. And we get test coverage of the new API for free. Closes: #589 Approved by: jlebon --- diff --git a/src/libostree/ostree-repo-pull.c b/src/libostree/ostree-repo-pull.c index 7a4ccfdb..943e1706 100644 --- a/src/libostree/ostree-repo-pull.c +++ b/src/libostree/ostree-repo-pull.c @@ -1070,13 +1070,11 @@ scan_commit_object (OtPullData *pull_data, { glnx_unref_object OstreeGpgVerifyResult *result = NULL; - result = _ostree_repo_verify_commit_internal (pull_data->repo, - checksum, - pull_data->remote_name, - NULL, - NULL, - cancellable, - error); + result = ostree_repo_verify_commit_for_remote (pull_data->repo, + checksum, + pull_data->remote_name, + cancellable, + error); if (result == NULL) goto out;