From 618673c3353f23951af9974d66d7b265106b42d3 Mon Sep 17 00:00:00 2001 From: Vladimir Dubrovin <3proxy@3proxy.ru> Date: Tue, 15 Apr 2014 02:10:05 +0400 Subject: [PATCH] Ignore NTLM handshake unless NTLM is configured --- src/proxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/proxy.c b/src/proxy.c index 834cae3..fa626d5 100644 --- a/src/proxy.c +++ b/src/proxy.c @@ -377,7 +377,7 @@ for(;;){ continue; } #ifndef NOCRYPT - if(!strncasecmp((char *)sb, "ntlm", 4)){ + if(param->srv->usentlm && !strncasecmp((char *)sb, "ntlm", 4)){ sb+=4; while(isspace(*sb))sb++; i = de64(sb, username, 1023);