ostree-repo.c: fix typo
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
parent
5a3300fe5b
commit
ccbb10d107
|
|
@ -3203,7 +3203,7 @@ _ostree_repo_gpg_verify_file_with_metadata (OstreeRepo *self,
|
||||||
GVariantIter iter;
|
GVariantIter iter;
|
||||||
GVariant *child;
|
GVariant *child;
|
||||||
g_autoptr (GBytes) signatures = NULL;
|
g_autoptr (GBytes) signatures = NULL;
|
||||||
gboolean had_valid_signataure = FALSE;
|
gboolean had_valid_signature = FALSE;
|
||||||
|
|
||||||
verifier = _ostree_gpg_verifier_new (cancellable, error);
|
verifier = _ostree_gpg_verifier_new (cancellable, error);
|
||||||
if (!verifier)
|
if (!verifier)
|
||||||
|
|
@ -3255,11 +3255,11 @@ _ostree_repo_gpg_verify_file_with_metadata (OstreeRepo *self,
|
||||||
if (!_ostree_gpg_verifier_check_signature (verifier,
|
if (!_ostree_gpg_verifier_check_signature (verifier,
|
||||||
path,
|
path,
|
||||||
signatures,
|
signatures,
|
||||||
&had_valid_signataure,
|
&had_valid_signature,
|
||||||
cancellable, error))
|
cancellable, error))
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
if (!had_valid_signataure)
|
if (!had_valid_signature)
|
||||||
{
|
{
|
||||||
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
|
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
|
||||||
"GPG signatures found, but none are in trusted keyring");
|
"GPG signatures found, but none are in trusted keyring");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue