HomeFreeBSD

pkg: refactor out a pkg_read_fd()

Description

pkg: refactor out a pkg_read_fd()

We already have to do this for reading the pubkey, just pull it out for
other uses. The ECC signer will use this to verify the bootstrap if
the PUBKEY mechanism is used.

Reviewed by: bapt, emaste

(cherry picked from commit 2ecfc040a09f8c42f67bbfdcc4bd02ef84dac8b7)

Details

Provenance
kevansAuthored on Wed, Jan 1, 9:10 PM
Parents
rG292d6586e232: pkg: pull rsa bits out of pkg.c
Branches
Unknown
Tags
Unknown