mirror of
https://github.com/curl/curl.git
synced 2026-07-23 23:47:15 +03:00
parent
daa5b044b8
commit
58e0ff809f
9 changed files with 171 additions and 172 deletions
|
|
@ -1339,7 +1339,6 @@ out:
|
|||
result = Curl_1st_err(result, check_and_set_expiry(cf, data, &pktx));
|
||||
|
||||
CURL_TRC_CF(data, cf, "[%" FMT_PRId64 "] cf_recv(blen=%zu) -> %dm, %zu",
|
||||
|
||||
stream ? stream->id : -1, blen, result, *pnread);
|
||||
CF_DATA_RESTORE(cf, save);
|
||||
return result;
|
||||
|
|
|
|||
|
|
@ -1349,17 +1349,17 @@ schannel_connect_step2(struct Curl_cfilter *cf, struct Curl_easy *data)
|
|||
failf(data, "schannel: %s",
|
||||
Curl_sspi_strerror(sspi_status, buffer, sizeof(buffer)));
|
||||
return CURLE_PEER_FAILED_VERIFICATION;
|
||||
/*
|
||||
case SEC_E_INVALID_HANDLE:
|
||||
case SEC_E_INVALID_TOKEN:
|
||||
case SEC_E_LOGON_DENIED:
|
||||
case SEC_E_TARGET_UNKNOWN:
|
||||
case SEC_E_NO_AUTHENTICATING_AUTHORITY:
|
||||
case SEC_E_INTERNAL_ERROR:
|
||||
case SEC_E_NO_CREDENTIALS:
|
||||
case SEC_E_UNSUPPORTED_FUNCTION:
|
||||
case SEC_E_APPLICATION_PROTOCOL_MISMATCH:
|
||||
*/
|
||||
#if 0
|
||||
case SEC_E_INVALID_HANDLE:
|
||||
case SEC_E_INVALID_TOKEN:
|
||||
case SEC_E_LOGON_DENIED:
|
||||
case SEC_E_TARGET_UNKNOWN:
|
||||
case SEC_E_NO_AUTHENTICATING_AUTHORITY:
|
||||
case SEC_E_INTERNAL_ERROR:
|
||||
case SEC_E_NO_CREDENTIALS:
|
||||
case SEC_E_UNSUPPORTED_FUNCTION:
|
||||
case SEC_E_APPLICATION_PROTOCOL_MISMATCH:
|
||||
#endif
|
||||
default:
|
||||
failf(data, "schannel: next InitializeSecurityContext failed: %s",
|
||||
Curl_sspi_strerror(sspi_status, buffer, sizeof(buffer)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue