curl-library
RE: FTPS Attempt Not Using SSL
Date: Mon, 31 Oct 2011 21:36:36 -0400
I figured it out. I took the vc6libcurl.dsw and vc6libcurl.dsp files and
opened them in Visual Studio 2003, which converted them into vc6libcurl.sln
and vc6libcurl.vcproj respectively. When it did, it added the following
preprocessor definitions to every source file in the settings:
WIN32;_DEBUG;BUILDING_LIBCURL; $(NoInherit)
This made it so when I added the USE_SSLEAY and USE_OPENSSL preprocessor
definitions that it didn't get propagated to each of the source files when
it compiled them. Therefore, SSL was never added. As soon as I cleared
those out so that it used the default preprocessor directives for the
project it worked. Do you want me to send you the .sln and .vcproj files so
that other users don't run into this problem?
Thanks,
David
David Johns
SuperManager Support
-----Original Message-----
From: Daniel Stenberg [mailto:daniel_at_haxx.se]
Sent: Monday, October 31, 2011 7:58 AM
To: info_at_thesupermanager.com; libcurl development
Subject: RE: FTPS Attempt Not Using SSL
On Mon, 31 Oct 2011, SuperWare Support wrote:
Please don't top-post as per the ettiquette:
http:///curl.haxx.se/mail/etiquette.html
> I also followed the instructions at the end of Jakab's instructions
> about compiling with SSL support. According to it, all that is
> necessary is to tell the compiler where the openssl libraries and
> includes are and to define "USE_SSLEAY" when compiling. Is there anything
else?
It is hard to tell for sure. I only _guessed_ what your problem is. AFAIK
you never checked the curl_easy_setopt() return code for when you set the
SSL related options.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2011-11-01