move check_host_cert() from sshconnect,c to sshkey.c and refactor
authordjm <djm@openbsd.org>
Tue, 26 Jan 2021 00:49:30 +0000 (00:49 +0000)
committerdjm <djm@openbsd.org>
Tue, 26 Jan 2021 00:49:30 +0000 (00:49 +0000)
commitfb19656940552b0db7188a4a498f59bf8824b925
tree7e5548517400d49118c69bdd4c0a8cd0225e5d76
parent7d6b586a92ab70c1f94374f6783de2312ce19d02
move check_host_cert() from sshconnect,c to sshkey.c and refactor
it to make it more generally usable and testable.

ok markus@
usr.bin/ssh/auth2-hostbased.c
usr.bin/ssh/auth2-pubkey.c
usr.bin/ssh/hostfile.c
usr.bin/ssh/sshconnect.c
usr.bin/ssh/sshkey.c
usr.bin/ssh/sshkey.h
usr.bin/ssh/sshsig.c