Selaa lähdekoodia

Ignore NTLM handshake unless NTLM is configured

Vladimir Dubrovin 11 vuotta sitten
vanhempi
sitoutus
618673c335
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/proxy.c

+ 1 - 1
src/proxy.c

@@ -377,7 +377,7 @@ for(;;){
 			continue;
 			continue;
 		}
 		}
 #ifndef NOCRYPT
 #ifndef NOCRYPT
-		if(!strncasecmp((char *)sb, "ntlm", 4)){
+		if(param->srv->usentlm && !strncasecmp((char *)sb, "ntlm", 4)){
 			sb+=4;
 			sb+=4;
 			while(isspace(*sb))sb++;
 			while(isspace(*sb))sb++;
 			i = de64(sb, username, 1023);
 			i = de64(sb, username, 1023);