mirror of
https://github.com/moparisthebest/pacman
synced 2025-03-01 09:51:50 -05:00
handle.c: force sigverify level not to be PM_PGP_VERIFY_UNKNOWN
Signed-off-by: Rémy Oudompheng <remy@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
ada5bc1404
commit
dd7b17aa0a
@ -628,6 +628,7 @@ int SYMEXPORT alpm_option_set_checkspace(int checkspace)
|
||||
int SYMEXPORT alpm_option_set_default_sigverify(pgp_verify_t level)
|
||||
{
|
||||
ASSERT(handle != NULL, RET_ERR(PM_ERR_HANDLE_NULL, -1));
|
||||
ASSERT(level != PM_PGP_VERIFY_UNKNOWN, RET_ERR(PM_ERR_WRONG_ARGS, -1));
|
||||
handle->sigverify = level;
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user