return SSH_ERR_KRL_BAD_MAGIC when a KRL doesn't contain a valid
authordjm <djm@openbsd.org>
Mon, 17 Jul 2023 05:20:15 +0000 (05:20 +0000)
committerdjm <djm@openbsd.org>
Mon, 17 Jul 2023 05:20:15 +0000 (05:20 +0000)
commit83e109d2e32057d1dbda056ddeedd702001ecfd0
tree088072a2773f584ce06be639c2a30ebc611a3be1
parente41e10e3956bbdc62b15cc3991e218376689320b
return SSH_ERR_KRL_BAD_MAGIC when a KRL doesn't contain a valid
magic number and not SSH_ERR_MESSAGE_INCOMPLETE; the former is
needed to fall back to text revocation lists in some cases;
fixes t-cert-hostkey.
usr.bin/ssh/krl.c