Lines Matching refs:type3
53 struct ntlm_type3 type3;
109 memset(&type3, 0, sizeof(type3));
111 type3.flags = flags;
112 type3.username = rk_UNCONST(user);
113 type3.targetname = rk_UNCONST(target);
114 type3.ws = rk_UNCONST("workstation");
122 &type3.ntlm);
126 ret = heim_ntlm_encode_type3(&type3, &data);
130 free(type3.ntlm.data);
132 memset(&type3, 0, sizeof(type3));
134 ret = heim_ntlm_decode_type3(&data, 1, &type3);
139 if (strcmp("workstation", type3.ws) != 0)
140 errx(1, "type3 ws wrong");
142 if (strcmp(target, type3.targetname) != 0)
143 errx(1, "type3 targetname wrong");
145 if (strcmp(user, type3.username) != 0)
146 errx(1, "type3 username wrong");
149 heim_ntlm_free_type3(&type3);