summaryrefslogtreecommitdiff
path: root/lib/curl_sasl.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-11-23 15:58:24 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-11-23 16:07:59 +0000
commit33be9e29be3d7903a61d27d8b2d45b92879e0b51 (patch)
treeb569deb15ae1b76c90154dd19d96509dba93f137 /lib/curl_sasl.c
parent8ed2420dbb302f92ba9058684b2d4af3793715c9 (diff)
downloadcurl-33be9e29be3d7903a61d27d8b2d45b92879e0b51.tar.gz
ntlm: Moved NSS initialisation to base decode function
Diffstat (limited to 'lib/curl_sasl.c')
-rw-r--r--lib/curl_sasl.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/curl_sasl.c b/lib/curl_sasl.c
index 47766a705..bfae4b386 100644
--- a/lib/curl_sasl.c
+++ b/lib/curl_sasl.c
@@ -45,10 +45,6 @@
#include "rawstr.h"
#include "non-ascii.h" /* included for Curl_convert_... prototypes */
-#ifdef USE_NSS
-#include "vtls/nssg.h" /* for Curl_nss_force_init() */
-#endif
-
#define _MPRINTF_REPLACE /* use our functions only */
#include <curl/mprintf.h>
@@ -1139,15 +1135,6 @@ CURLcode Curl_sasl_decode_ntlm_type2_message(struct SessionHandle *data,
const char *type2msg,
struct ntlmdata *ntlm)
{
-#ifdef USE_NSS
- CURLcode result;
-
- /* make sure the crypto backend is initialized */
- result = Curl_nss_force_init(data);
- if(result)
- return result;
-#endif
-
return Curl_ntlm_decode_type2_message(data, type2msg, ntlm);
}