Check result of heim_ntlm_decode_type3().

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22371 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-12-28 16:16:39 +00:00
parent 28f2cb6167
commit bf6ebf1d25

View File

@@ -139,6 +139,16 @@ test_parse(void)
if (ret)
errx(1, "heim_ntlm_decode_type3");
if (strcmp("workstation", type3.ws) != 0)
errx(1, "type3 ws wrong");
if (strcmp(rk_UNCONST(target), type3.targetname) != 0)
errx(1, "type3 targetname wrong");
if (strcmp(rk_UNCONST(user), type3.username) != 0)
errx(1, "type3 username wrong");
heim_ntlm_free_type3(&type3);
/*