Reputation: 1
I'm using cURL 7.42.1 and MinGW. I'm having problems compiling libcurl with ssl support (for HTTPS). Ive tried defining USE_OPENSSL
on lib\curl_setup.h
but it still didn't work.
Ive been trying to find a solution to this for hours but i couldn't find one.
Upvotes: 0
Views: 1240
Reputation: 3225
You must build libcurl
with SSL support enabled, adding a define to curl_setup.h
won't have the desired effect.
i.e.:
./configure --with-winssl
Then init curl the following way in your application:
if (curl_global_init(CURL_GLOBAL_ALL) != CURLE_OK)
/* handle error */
Upvotes: 1