mirror of
https://github.com/moparisthebest/curl
synced 2025-01-10 21:48:10 -05:00
curl_sasl: fix compiler error with --disable-crypto-auth
... if libgsasl was found. Closes #6806
This commit is contained in:
parent
8cbc16b2f9
commit
184ffc0bdf
@ -523,7 +523,7 @@ CURLcode Curl_sasl_continue(struct SASL *sasl, struct Curl_easy *data,
|
|||||||
case SASL_EXTERNAL:
|
case SASL_EXTERNAL:
|
||||||
result = Curl_auth_create_external_message(data, conn->user, &resp, &len);
|
result = Curl_auth_create_external_message(data, conn->user, &resp, &len);
|
||||||
break;
|
break;
|
||||||
|
#ifndef CURL_DISABLE_CRYPTO_AUTH
|
||||||
#ifdef USE_GSASL
|
#ifdef USE_GSASL
|
||||||
case SASL_GSASL:
|
case SASL_GSASL:
|
||||||
sasl->params->getmessage(data->state.buffer, &serverdata);
|
sasl->params->getmessage(data->state.buffer, &serverdata);
|
||||||
@ -533,7 +533,6 @@ CURLcode Curl_sasl_continue(struct SASL *sasl, struct Curl_easy *data,
|
|||||||
newstate = SASL_GSASL;
|
newstate = SASL_GSASL;
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
#ifndef CURL_DISABLE_CRYPTO_AUTH
|
|
||||||
case SASL_CRAMMD5:
|
case SASL_CRAMMD5:
|
||||||
sasl->params->getmessage(data->state.buffer, &serverdata);
|
sasl->params->getmessage(data->state.buffer, &serverdata);
|
||||||
result = Curl_auth_decode_cram_md5_message(serverdata, &chlg, &chlglen);
|
result = Curl_auth_decode_cram_md5_message(serverdata, &chlg, &chlglen);
|
||||||
|
Loading…
Reference in New Issue
Block a user