summaryrefslogtreecommitdiff
path: root/openbsd-compat/pwcache.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2020-04-08 00:01:52 +0000
committerDamien Miller <djm@mindrot.org>2020-04-08 10:14:21 +1000
commitc0f5b2294796451001fd328c44f0d00f1114eddf (patch)
treec5ca6f4e3ea8fbba8e68cce80758281c3f2b487b /openbsd-compat/pwcache.c
parent8461a5b3db34ed0b5a4a18d82f64fd5ac8693ea8 (diff)
upstream: refactor private key parsing a little
Split out the base64 decoding and private section decryption steps in to separate functions. This will make the decryption step easier to fuzz as well as making it easier to write a "load public key from new-format private key" function. ok markus@ OpenBSD-Commit-ID: 7de31d80fb9062aa01901ddf040c286b64ff904e
Diffstat (limited to 'openbsd-compat/pwcache.c')
0 files changed, 0 insertions, 0 deletions