diff options
author | Steve Holme <steve_holme@hotmail.com> | 2014-11-23 15:46:12 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2014-11-23 16:05:08 +0000 |
commit | 8ed2420dbb302f92ba9058684b2d4af3793715c9 (patch) | |
tree | d1a67c2f541f4042177aa35657aecea889c59c00 | |
parent | 409265a571e3b0202db0db9511d9c11463dbc66d (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().
-rw-r--r-- | lib/curl_ntlm.c | 6 |
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)) { |