cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Patch to make Metalink and SecureTransport get along

From: Nick Zitzmann <nick_at_chronosnet.com>
Date: Wed, 8 Aug 2012 09:53:31 -0600

On Aug 8, 2012, at 3:16 AM, Daniel Stenberg <daniel_at_haxx.se> wrote:

> 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.

Tack.

> 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.

Yes, I'd agree with that. I am a little surprised libmetalink doesn't provide any help here, but then again, it is a version 0.x release.

Nick Zitzmann
<http://www.chronosnet.com/>

-------------------------------------------------------------------
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.html
Received on 2012-08-08