aboutsummaryrefslogtreecommitdiff
path: root/src/poll.c
diff options
context:
space:
mode:
authorJakub Jelen <jjelen@redhat.com>2019-01-08 14:27:39 +0100
committerAndreas Schneider <asn@cryptomilk.org>2019-01-09 13:18:05 +0100
commit531b80a60bcb89c0ea09e85e36e240755407febf (patch)
tree4cd31a09baa1c60bd449c4c3f2e13a1eb108a87b /src/poll.c
parent27fe60954c29e548c30af239d92ab4faaf8cf788 (diff)
downloadlibssh-531b80a60bcb89c0ea09e85e36e240755407febf.tar.gz
libssh-531b80a60bcb89c0ea09e85e36e240755407febf.tar.xz
libssh-531b80a60bcb89c0ea09e85e36e240755407febf.zip
kex: List also the SHA2 extension when ordering hostkey algorithms
By default, the list of already stored known host types is preferred, but this selection so far ignored the SHA2 extension and excluded these keys in the KEXINIT list leading to not using this extension if not explicitly enabled from configuration. This commit extends the default list with the SHA2 signatures algoritms and compares only base types so they can be listed in the KEXINIT list. This adjust the tests to expect the full list of algorithms to pass. Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src/poll.c')
0 files changed, 0 insertions, 0 deletions