add a helper function to match a key type to a list of signature
authordjm <djm@openbsd.org>
Thu, 6 Jan 2022 22:05:42 +0000 (22:05 +0000)
committerdjm <djm@openbsd.org>
Thu, 6 Jan 2022 22:05:42 +0000 (22:05 +0000)
commit661a795ce3c4e4c6f33de3f542701e7c54ad7d17
tree1d3bf1339252ba87e60fa561ac785cc00700a700
parent754adb6a1a31c6e653ddebf27b9ff3df9afd3f57
add a helper function to match a key type to a list of signature
algorithms. RSA keys can make signatures with multiple algorithms,
so some special handling is required.
ok markus@
usr.bin/ssh/sshkey.c
usr.bin/ssh/sshkey.h