cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: SSL/TLS support using Windows SSPI Schannel API

From: Marc Hörsken <info_at_marc-hoersken.de>
Date: Tue, 10 Apr 2012 00:34:37 +0200

2012/4/9 Gisle Vanem <gvanem_at_broadpark.no>

> "Marc Hörsken" <info_at_marc-hoersken.de> wrote:
>
> Yes, that is basically the whole purpose of this. Schannel is a
>> replacement for other SSL/TLS implementations, like OpenSSL.
>> I am currently building it using the previously mentioned Makefile.vc in
>> winbuild/ and can successfully do HTTPS without OpenSSL.
>>
>
> Can you please tell me what besides '-DUSE_WINDOWS_SSPI' and
> '-DUSE_SCHANNEL' is required? This is my cmdline now:
>
> cl.exe -nologo -O2 -W3 -GF -Gy -Zi -Ot -DWIN32 -D_WIN32
> -DHAVE_LONGLONG -DHAVE_LL -DHAVE_SPNEGO=1
> -D_WIN32_WINNT=0x0501 -DWINVER=0x0501 -DWIN32_LEAN_AND_MEAN
> -MD -D_RELEASE -DENABLE_IPV6 -DDEBUG_ADDRINFO
> -DUSE_WINDOWS_SSPI -DUSE_SCHANNEL -DDEBUG_LDAP
> -DHAVE_LDAP_SSL -DHAVE_LIBZ=1 -DHAVE_ZLIB_H=1
> -DBUILDING_LIBCURL -I. -I../include -I../lib -I../../../../zlib-1.2.5
> -FoMSVC_obj\\wildcard.obj -c wildcard.c
>
>
Those are the only flags required. It should work using that cmdline.

How exactly are you building? And on which type/version of system are your
building?
Please give me more detail to help you build it successfully.
Do you see curl_schannel.c being build? Ist there an curl_schannel.obj file
somewhere?

>
> Example version output of my customized curl version:
>>
>> D:\Dev\curl\builds\libcurl-**release-dll-ssl-schannel-ipv6-**sspi\bin>curl
>> -V
>> curl 7.25.1-DEV (i386-pc-win32) libcurl/7.25.1-DEV Schannel/1.0.0.0
>>
>
> I give up; no way I'm getting "Schannel/.." from my version.c. I'll wait
> until
> you've added your work to the normal git-repo. I'm confused..
>
>
I am sorry for the confusion. I didn't understand that you are actually
unable to use it, at first.
I thought it was working for you, sorry for the misunderstanding.

So, how exactly are you trying to build it? If you still want to do it.

Best regards,
Marc

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-04-10