curl-users
Re: Patch to make Metalink and SecureTransport get along
Date: Wed, 8 Aug 2012 11:16:44 +0200 (CEST)
On Tue, 7 Aug 2012, Nick Zitzmann wrote:
> It was brought to my attention on the libcurl list that Metalink support
> didn't work unless curl was built using OpenSSL or GnuTLS. Sure enough, they
> were right.
>
> I've attached a patch that makes it so that curl builds cleanly when
> compiled --with-darwinssl and --with-libmetalink. I've tested it, too, and
> it seems to work as expected. It does not use OpenSSL; it uses the OS
> CommonCrypto library, which turns out to be backward-compatible with OpenSSL
> when used to generate digests.
Lovely, thanks! I've pushed your patch now.
The configure parts for metalink might still need to check if a "suitable"
crypto lib has been specified or detected already and either error out if not,
or just disable metalink support again.
Alternatively, libmetalink should be made to use/provide its own set of crypto
functions to allow curl builds without SSL/SSH support.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-users FAQ: http://curl.haxx.se/docs/faq.html Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2012-08-08