mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
http_ntlm: Fixed additional NSS initialisation call when decoding type-2
After commit 48d19acb7c
the HTTP code would call Curl_nss_force_init()
twice when decoding a NTLM type-2 message, once directly and the other
through the call to Curl_sasl_decode_ntlm_type2_message().
This commit is contained in:
parent
409265a571
commit
8ed2420dbb
@ -70,12 +70,6 @@ CURLcode Curl_input_ntlm(struct connectdata *conn,
|
||||
struct ntlmdata *ntlm;
|
||||
CURLcode result = CURLE_OK;
|
||||
|
||||
#ifdef USE_NSS
|
||||
result = Curl_nss_force_init(conn->data);
|
||||
if(result)
|
||||
return result;
|
||||
#endif
|
||||
|
||||
ntlm = proxy ? &conn->proxyntlm : &conn->ntlm;
|
||||
|
||||
if(checkprefix("NTLM", header)) {
|
||||
|
Loading…
Reference in New Issue
Block a user