aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-11-23 15:46:12 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-11-23 16:05:08 +0000
commit8ed2420dbb302f92ba9058684b2d4af3793715c9 (patch)
treed1a67c2f541f4042177aa35657aecea889c59c00 /lib
parent409265a571e3b0202db0db9511d9c11463dbc66d (diff)
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().
Diffstat (limited to 'lib')
-rw-r--r--lib/curl_ntlm.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/curl_ntlm.c b/lib/curl_ntlm.c
index 5d83bbac1..c77f055d4 100644
--- a/lib/curl_ntlm.c
+++ b/lib/curl_ntlm.c
@@ -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)) {