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:
@@ -139,6 +139,16 @@ test_parse(void)
|
|||||||
if (ret)
|
if (ret)
|
||||||
errx(1, "heim_ntlm_decode_type3");
|
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);
|
heim_ntlm_free_type3(&type3);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user