Lines Matching refs:sect

554 	struct sshbuf *sect;
557 if ((sect = sshbuf_new()) == NULL)
601 if ((r = put_bitmap(sect, bitmap)) != 0)
608 (r = sshbuf_put_stringb(buf, sect)) != 0)
610 sshbuf_reset(sect);
618 sshbuf_reset(sect);
629 if ((r = sshbuf_put_u64(sect,
640 if ((r = sshbuf_put_u64(sect, rs->lo + i)) != 0)
645 if ((r = sshbuf_put_u64(sect, rs->lo)) != 0 ||
646 (r = sshbuf_put_u64(sect, rs->hi)) != 0)
674 if ((r = put_bitmap(sect, bitmap)) != 0)
681 (r = sshbuf_put_stringb(buf, sect)) != 0)
687 sshbuf_reset(sect);
690 if ((r = sshbuf_put_cstring(sect, rki->key_id)) != 0)
693 if (sshbuf_len(sect) != 0) {
695 (r = sshbuf_put_stringb(buf, sect)) != 0)
701 sshbuf_free(sect);
712 struct sshbuf *sect;
719 if ((sect = sshbuf_new()) == NULL)
734 sshbuf_reset(sect);
735 if ((r = revoked_certs_generate(rc, sect)) != 0)
738 (r = sshbuf_put_stringb(buf, sect)) != 0)
743 sshbuf_reset(sect);
746 if ((r = sshbuf_put_string(sect, rb->blob, rb->len)) != 0)
749 if (sshbuf_len(sect) != 0) {
751 (r = sshbuf_put_stringb(buf, sect)) != 0)
754 sshbuf_reset(sect);
757 if ((r = sshbuf_put_string(sect, rb->blob, rb->len)) != 0)
760 if (sshbuf_len(sect) != 0) {
763 (r = sshbuf_put_stringb(buf, sect)) != 0)
785 sshbuf_free(sect);
924 struct sshbuf *copy = NULL, *sect = NULL;
1059 sshbuf_free(sect);
1060 sect = NULL;
1062 (r = sshbuf_froms(copy, &sect)) != 0)
1068 if ((r = parse_revoked_certs(sect, krl)) != 0)
1073 while (sshbuf_len(sect) > 0) {
1074 if ((r = sshbuf_get_string(sect,
1093 sshbuf_reset(sect);
1094 sect = NULL;
1103 if (sect != NULL && sshbuf_len(sect) > 0) {
1157 sshbuf_free(sect);