]> granicus.if.org Git - curl/commitdiff
curl_sasl.c: chlglen is not used when cryptography is disabled
authorSteve Holme <steve_holme@hotmail.com>
Tue, 20 Jan 2015 19:28:54 +0000 (19:28 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Tue, 20 Jan 2015 19:28:54 +0000 (19:28 +0000)
lib/curl_sasl.c

index 1e0f791bddd6e8648fac2542c87deff09a63a7f1..195b5360bb793a3fc0aff733bf2d49a5734d473b 100644 (file)
@@ -1452,9 +1452,9 @@ CURLcode Curl_sasl_continue(struct SASL *sasl, struct connectdata *conn,
   char *resp = NULL;
 #if !defined(CURL_DISABLE_CRYPTO_AUTH)
   char *serverdata;
+  size_t chlglen = 0;
 #endif
   size_t len = 0;
-  size_t chlglen = 0;
 
   *progress = SASL_INPROGRESS;