From 8ed2420dbb302f92ba9058684b2d4af3793715c9 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sun, 23 Nov 2014 15:46:12 +0000 Subject: 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(). --- lib/curl_ntlm.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib/curl_ntlm.c') 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)) { -- cgit v1.2.3