mirror of
https://github.com/curl/curl.git
synced 2026-08-25 18:13:37 +03:00
spnego_sspi: add support for channel binding
Attempt to add support for Secure Channel binding when negotiate authentication is used. The problem to solve is that by default IIS accepts channel binding and curl doesn't utilise them. The result was a 401 response. Scope affects only the Schannel(winssl)-SSPI combination. Fixes https://github.com/curl/curl/issues/3503 Closes https://github.com/curl/curl/pull/3509
This commit is contained in:
parent
463f16d188
commit
a730432e59
5 changed files with 49 additions and 8 deletions
|
|
@ -1428,7 +1428,7 @@ schannel_connect_common(struct connectdata *conn, int sockindex,
|
|||
* binding to pass the IIS extended protection checks.
|
||||
* Available on Windows 7 or later.
|
||||
*/
|
||||
conn->ntlm.sslContext = &BACKEND->ctxt->ctxt_handle;
|
||||
conn->sslContext = &BACKEND->ctxt->ctxt_handle;
|
||||
#endif
|
||||
|
||||
*done = TRUE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue