-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds support for channel binding for http-SSPI-Negotiate. #3509
Conversation
189159d
to
4516e49
Compare
4516e49
to
e995929
Compare
@MarcelRaad Since you've seen the same patch for NTLM, could you please help me out with this PR? One of the tests is failing in |
lib/urldata.h
Outdated
@@ -980,6 +983,9 @@ struct connectdata { | |||
void *seek_client; /* pointer to pass to the seek() above */ | |||
|
|||
/*************** Request - specific items ************/ | |||
#ifdef SECPKG_ATTR_ENDPOINT_BINDINGS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably also needs USE_WINDOWS_SSPI
like in the other conditions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the feedback. Code updated!
Yes, looks unrelated. The code changes look good to me too, |
Testing right now. I don't expect any problems, so if there are no objections, I'll merge this later today. |
Thank you very much! |
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.