Function alpm_sys::alpm_pkg_check_pgp_signature
source · pub unsafe extern "C" fn alpm_pkg_check_pgp_signature(
pkg: *mut alpm_pkg_t,
siglist: *mut alpm_siglist_t
) -> c_int
Expand description
Check the PGP signature for the given package file. @param pkg the package to check @param siglist a pointer to storage for signature results @return a int value : 0 (valid), 1 (invalid), -1 (an error occurred)