summaryrefslogtreecommitdiff
path: root/auth-skey.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2017-07-07 03:53:12 +0000
committerDamien Miller <djm@mindrot.org>2017-07-21 14:17:32 +1000
commit853edbe057a84ebd0024c8003e4da21bf2b469f7 (patch)
tree2f7010fb3e1a780ba438b06753c1be99fab3abe9 /auth-skey.c
parent43616876ba68a2ffaece6a6c792def4b039f2d6e (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
Diffstat (limited to 'auth-skey.c')
0 files changed, 0 insertions, 0 deletions