diff options
author | djm@openbsd.org <djm@openbsd.org> | 2017-03-03 06:13:11 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2017-03-09 11:21:20 +0000 |
commit | 78800aa252da1ebbfb55f7e593f43c337e694cc3 (patch) | |
tree | b3a25ac6aa302a04a5361754165ef953bd2b115f /sshkey.c | |
parent | e18d2ba71e6bf009c53e65509da84b712c300471 (diff) |
upstream commit
fix ssh-keygen -H accidentally corrupting known_hosts that
contained already-hashed entries. HKF_MATCH_HOST_HASHED is only set by
hostkeys_foreach() when hostname matching is in use, so we need to look for
the hash marker explicitly.
Upstream-ID: da82ad653b93e8a753580d3cf5cd448bc2520528
Origin: https://anongit.mindrot.org/openssh.git/commit/?id=12d3767ba4c84c32150cbe6ff6494498780f12c9
Bug-Debian: https://bugs.debian.org/851734
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1668093
Last-Update: 2017-03-09
Patch-Name: ssh-keygen-hash-corruption.patch
Diffstat (limited to 'sshkey.c')
0 files changed, 0 insertions, 0 deletions