summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/signing.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/signing.c')
-rw-r--r--lib/libalpm/signing.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/libalpm/signing.c b/lib/libalpm/signing.c
index 4428b543..8db4a7b2 100644
--- a/lib/libalpm/signing.c
+++ b/lib/libalpm/signing.c
@@ -437,8 +437,7 @@ char *_alpm_sigpath(alpm_handle_t *handle, const char *path)
}
int _alpm_check_pgp_helper(alpm_handle_t *handle, const char *path,
- const char *base64_sig, int optional, int marginal, int unknown,
- enum _alpm_errno_t invalid_err)
+ const char *base64_sig, int optional, int marginal, int unknown)
{
alpm_sigresult_t result;
int ret;
@@ -496,10 +495,6 @@ int _alpm_check_pgp_helper(alpm_handle_t *handle, const char *path,
break;
}
}
-
- if(ret) {
- handle->pm_errno = invalid_err;
- }
}
alpm_sigresult_cleanup(&result);