curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

libCurl and Openssl 1.1.1d build errors

From: Steve Foxover via curl-library <curl-library_at_cool.haxx.se>
Date: Wed, 4 Dec 2019 16:11:40 -0800

Hi,

I have been using libCurl for quite a while with openssl 1.0.2. But now I
want to update to openssl 1.1.1 as support for 1.0.2 is ending.

I compile openssl 1.1.1d with
perl Configure VC-WIN32 no-asm no-tests no-shared --debug --prefix=/NUL
--openssldir=/NUL
nmake

copy the headers and libs to a sub folder under curl
curl-7.67.0
deps/include
deps/lib

Then trying to build curl with
nmake /f Makefile.vc mode=static VC=15 MACHINE=x86 ENABLE_WINSSL=no
WITH_SSL=static RTLIBCFG=static GEN_PDB=yes ENABLE_IPV6=yes ENABLE_SSPI=yes
ENABLE_IDN=yes DEBUG=yes

I get so far but run into many errors like
openssl/bio.h(686): error C2061: syntax error: identifier
'DEPRECATEDIN_1_1_0'
openssl/asn1.h(555): error C2085: 'ASN1_STRING_get0_data': not in formal
parameter list
etc

Does libCurl support openssl 1.1.1 on Windows?

Are you required to build openssl 1.1.1 with enable-deprecated
and define OPENSSL_USE_DEPRECATED
somewhere to make it build?

I was looking at vcpkg to see what it does but it still uses openssl 1.0.2.

Thanks

Steve

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2019-12-05