commit | 853edbe057a84ebd0024c8003e4da21bf2b469f7 | [log] [tgz] |
---|---|---|
author | djm@openbsd.org <djm@openbsd.org> | Fri Jul 07 03:53:12 2017 +0000 |
committer | Damien Miller <djm@mindrot.org> | Fri Jul 21 14:17:32 2017 +1000 |
tree | 2f7010fb3e1a780ba438b06753c1be99fab3abe9 | |
parent | 43616876ba68a2ffaece6a6c792def4b039f2d6e [diff] |
upstream commit When generating all hostkeys (ssh-keygen -A), clobber existing keys if they exist but are zero length. zero-length keys could previously be made if ssh-keygen failed part way through generating them, so avoid that case too. bz#2561 reported by Krzysztof Cieplucha; ok dtucker@ Upstream-ID: f662201c28ab8e1f086b5d43c59cddab5ade4044