summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ntlm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ntlm.c b/src/ntlm.c
index aa1fbe6..5d31405 100644
--- a/src/ntlm.c
+++ b/src/ntlm.c
@@ -803,9 +803,7 @@ int ntlm_process_target_info(struct ntlm_ctx *ctx, bool protect,
&av_flags, &srv_time, NULL, NULL);
if (ret) goto done;
- if (protect &&
- (!nb_computer_name || nb_computer_name[0] == '\0' ||
- !nb_domain_name || nb_domain_name[0] == '\0')) {
+ if (protect && (!nb_computer_name || nb_computer_name[0] == '\0')) {
ret = EINVAL;
goto done;
}