ostree-repo.c: fix typo

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
Giuseppe Scrivano 2015-03-16 11:27:19 +01:00
parent 5a3300fe5b
commit ccbb10d107
1 changed files with 3 additions and 3 deletions

View File

@ -3203,7 +3203,7 @@ _ostree_repo_gpg_verify_file_with_metadata (OstreeRepo *self,
GVariantIter iter;
GVariant *child;
g_autoptr (GBytes) signatures = NULL;
gboolean had_valid_signataure = FALSE;
gboolean had_valid_signature = FALSE;
verifier = _ostree_gpg_verifier_new (cancellable, error);
if (!verifier)
@ -3255,11 +3255,11 @@ _ostree_repo_gpg_verify_file_with_metadata (OstreeRepo *self,
if (!_ostree_gpg_verifier_check_signature (verifier,
path,
signatures,
&had_valid_signataure,
&had_valid_signature,
cancellable, error))
goto out;
if (!had_valid_signataure)
if (!had_valid_signature)
{
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
"GPG signatures found, but none are in trusted keyring");