Bug: 23512: no_check.pl ntlm helper never sends challenge
while(<STDIN>) {
chop;
- if (substr($_, 2) eq "YR") {
+ if (substr($_, 0, 2) eq "YR") {
print "TT ".encode_base64(&make_ntlm_static_challenge);
next;
}
}
if ($res{type} eq "challenge") { # Huh? WE are the challengers.
print "BH Squid-helper protocol error: unexpected challenge-request\n";
- next;
+ next;
}
if ($res{type} eq "authentication") {
print "AF $res{domain}\\$res{user}\n";
- next;
+ next;
}
print "BH internal error\n"; # internal error
}