Return to sshkey-xmss.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.5, 2019/06/28 13:35:04 | version 1.6, 2019/10/09 00:02:57 | ||
---|---|---|---|
|
|
||
goto out; | goto out; | ||
} | } | ||
/* check that an appropriate amount of auth data is present */ | /* check that an appropriate amount of auth data is present */ | ||
if (sshbuf_len(encoded) < encrypted_len + authlen) { | if (sshbuf_len(encoded) < authlen || | ||
sshbuf_len(encoded) - authlen < encrypted_len) { | |||
r = SSH_ERR_INVALID_FORMAT; | r = SSH_ERR_INVALID_FORMAT; | ||
goto out; | goto out; | ||
} | } |