diff --git a/lib/ntlm/test_ntlm.c b/lib/ntlm/test_ntlm.c index 326b27844..6f8c78096 100644 --- a/lib/ntlm/test_ntlm.c +++ b/lib/ntlm/test_ntlm.c @@ -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); /*