Skip to content

added Windows SSL support for CMake build#399

Closed
snikulov wants to merge 1 commit intocurl:masterfrom
snikulov:cmake_windows_ssl
Closed

added Windows SSL support for CMake build#399
snikulov wants to merge 1 commit intocurl:masterfrom
snikulov:cmake_windows_ssl

Conversation

@snikulov
Copy link
Contributor

Re-enabled Windows SSL support for CMake build.

Tested with MSVC 2013/2015, MinGW 5.1.0.

c:\WORK\GitHub\curl\mingw\src>curl --version
curl 7.45.0-DEV (Windows) libcurl/7.45.0-DEV WinSSL
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp smtp smtps telnet tftp
Features: SSPI Kerberos SPNEGO NTLM SSL

@snikulov
Copy link
Contributor Author

@bradking Could you please review and comment? Thank you.

@bradking
Copy link
Contributor

Good start. If HAVE_SCHANNEL_H succeeds but HAVE_SSPI_H fails then one will get compilation errors with the current logic. We cannot allow the configured header to define USE_SCHANNEL but not USE_WINDOWS_SSPI. Please update the logic accordingly.

Style nit: the CMakeLists.txt file currently uses 2-space indentation but the patch adds a block using 4-space indentation.

@snikulov
Copy link
Contributor Author

@bradking fixed both comments 5d1581c4b89b8b334de9dad5883e91ef57d88441

@bradking
Copy link
Contributor

LGTM. Please squash down to one commit.

@snikulov
Copy link
Contributor Author

@bradking Done.
@bagder Could you please review and merge?
Thank you.

@bagder bagder closed this in 2132708 Aug 25, 2015
jgsogo pushed a commit to jgsogo/curl that referenced this pull request Oct 19, 2015
@snikulov snikulov deleted the cmake_windows_ssl branch January 11, 2019 10:46
@lock lock bot locked as resolved and limited conversation to collaborators Apr 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants