Lines Matching refs:type1
579 * @param type1 the ntlm_type1 message to encode.
590 heim_ntlm_encode_type1(const struct ntlm_type1 *type1, struct ntlm_buf *data)
597 flags = type1->flags;
600 if (type1->domain) {
604 if (type1->hostname) {
608 if (type1->os[0])
612 if (type1->domain) {
613 domain.length = len_string(0, type1->domain);
621 if (type1->hostname) {
622 hostname.length = len_string(0, type1->hostname);
642 CHECK(krb5_store_uint32(out, type1->os[0]), 0);
643 CHECK(krb5_store_uint32(out, type1->os[1]), 0);
645 if (type1->domain)
646 CHECK(put_string(out, 0, type1->domain), 0);
647 if (type1->hostname)
648 CHECK(put_string(out, 0, type1->hostname), 0);