version 1.35, 2015/12/04 16:41:28 |
version 1.36, 2015/12/11 04:21:12 |
|
|
goto out; |
goto out; |
|
|
while (sshbuf_len(buf) > 0) { |
while (sshbuf_len(buf) > 0) { |
if (subsect != NULL) { |
sshbuf_free(subsect); |
sshbuf_free(subsect); |
subsect = NULL; |
subsect = NULL; |
|
} |
|
if ((r = sshbuf_get_u8(buf, &type)) != 0 || |
if ((r = sshbuf_get_u8(buf, &type)) != 0 || |
(r = sshbuf_froms(buf, &subsect)) != 0) |
(r = sshbuf_froms(buf, &subsect)) != 0) |
goto out; |
goto out; |
|
|
if ((r = sshbuf_consume(copy, sects_off)) != 0) |
if ((r = sshbuf_consume(copy, sects_off)) != 0) |
goto out; |
goto out; |
while (sshbuf_len(copy) > 0) { |
while (sshbuf_len(copy) > 0) { |
if (sect != NULL) { |
sshbuf_free(sect); |
sshbuf_free(sect); |
sect = NULL; |
sect = NULL; |
|
} |
|
if ((r = sshbuf_get_u8(copy, &type)) != 0 || |
if ((r = sshbuf_get_u8(copy, &type)) != 0 || |
(r = sshbuf_froms(copy, §)) != 0) |
(r = sshbuf_froms(copy, §)) != 0) |
goto out; |
goto out; |