alpm_sys

Function 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 0 if valid, -1 if an error occurred or signature is invalid