]> granicus.if.org Git - curl/commit
SSH: fix CURLOPT_SSH_HOST_PUBLIC_KEY_MD5
authorDaniel Stenberg <daniel@haxx.se>
Mon, 5 Dec 2011 21:20:48 +0000 (22:20 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 5 Dec 2011 21:24:28 +0000 (22:24 +0100)
commit347f951c3909dea589270366ea90f1af9b40f65b
tree6b2b6e6746829c68bb891bf805e06b2d67e3b77e
parentc50dbf670f5780db7658bb15f5d24c8706202584
SSH: fix CURLOPT_SSH_HOST_PUBLIC_KEY_MD5

When a 32 digit hex key is given as a hostkey md5 checksum, the code
would still run it against the knownhost check and not properly
acknowledge that the md5 should then be the sole guide for.

The verbose output now includes the evaluated MD5 hostkey checksum.

Some related source code comments were also updated.

Bug: http://curl.haxx.se/bug/view.cgi?id=3451592
Reported by: Reza Arbab
lib/ssh.c