diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-09-28 10:20:35 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-10-31 08:46:35 +0100 |
commit | ce8d09483eea2fcb1b50e323e1a8ed1f3613b2e3 (patch) | |
tree | 5c183335ef8a45d996d20dcfc90931a2b0e8899f /lib | |
parent | b3ee26c5df75d97f6895e6ec4538894ebaf76e48 (diff) |
SSH: check md5 fingerprint case sensitively
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ssh.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -676,7 +676,7 @@ static CURLcode ssh_check_fingerprint(struct connectdata *conn) * against a known fingerprint, if available. */ if(pubkey_md5 && strlen(pubkey_md5) == 32) { - if(!fingerprint || !strequal(md5buffer, pubkey_md5)) { + if(!fingerprint || strcmp(md5buffer, pubkey_md5)) { if(fingerprint) failf(data, "Denied establishing ssh session: mismatch md5 fingerprint. " |