sshkey_unshield_private() contains a exact duplicate of the code in
authordjm <djm@openbsd.org>
Thu, 5 May 2022 01:04:14 +0000 (01:04 +0000)
committerdjm <djm@openbsd.org>
Thu, 5 May 2022 01:04:14 +0000 (01:04 +0000)
commitc655ee50f6df6d1bddd28d24e7e3c14d3e183fd6
tree042027ed8b9516bc5edf24fa1baf37323e8bb11f
parent287a191854ace126112c6d304bbf8a1a593b55da
sshkey_unshield_private() contains a exact duplicate of the code in
private2_check_padding(). Pull private2_check_padding() up so the code
can be reused. From Martin Vahlensieck, ok deraadt@
usr.bin/ssh/sshkey.c