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.
Re: How to build libcurl with OpenSSL without installing the latter?
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Daniel Gustafsson via curl-library <curl-library_at_lists.haxx.se>
Date: Thu, 11 Nov 2021 10:07:47 +0100
> On 10 Nov 2021, at 15:10, ellie via curl-library <curl-library_at_lists.haxx.se> wrote:
> I have also noticed as a side note that for a Windows build with autotools, it seems to be impossible to avoid including code that needs a link to crypt32/wincrypt, even when I want to use OpenSSL & custom cert store only. If there is an option to prevent that I didn't find it. This is somewhat relevant to me because I'm about to try a Windows XP-compatible build, so having unnecessary exposure to WinAPI of things I don't want it to use anyway is a bit of a liability (although might not be an issue in practice, I'll know soon after tests).
I don't know much about Windows, but I would recommend playing around with
USE_WIN32_CRYPTO - which is checked for automatically by ./configure - as that
macro will include wincrypt.h.
Date: Thu, 11 Nov 2021 10:07:47 +0100
> On 10 Nov 2021, at 15:10, ellie via curl-library <curl-library_at_lists.haxx.se> wrote:
> I have also noticed as a side note that for a Windows build with autotools, it seems to be impossible to avoid including code that needs a link to crypt32/wincrypt, even when I want to use OpenSSL & custom cert store only. If there is an option to prevent that I didn't find it. This is somewhat relevant to me because I'm about to try a Windows XP-compatible build, so having unnecessary exposure to WinAPI of things I don't want it to use anyway is a bit of a liability (although might not be an issue in practice, I'll know soon after tests).
I don't know much about Windows, but I would recommend playing around with
USE_WIN32_CRYPTO - which is checked for automatically by ./configure - as that
macro will include wincrypt.h.
-- Daniel Gustafsson https://vmware.com/ -- Unsubscribe: https://lists.haxx.se/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2021-11-11