curl-library
Re: Support for GnuTLS/nettle
Date: Tue, 15 Nov 2011 13:27:17 +0100 (CET)
On Tue, 15 Nov 2011, Martin Storsjö wrote:
> The attached patch adds replacement code for using crypto routines from
> nettle instead of gcrypt, which passes all tests that "make test" runs here.
Nice job!
> The big question that remains, however, is how to detect this setup - the
> current gnutls+gcrypt check in configure simply checks that we can link to
> gcrypt.
The check for gcrypt explicitly is actually there for a reason. We rely on
gcrypt for the NTLM code when GnuTLS is used. So unless you modified that part
of the code, you actually need both nettle and gcrypt for the moment.
Once add support to the NTLM code to use nettle instead, we could probably use
the GnuTLS version as a way to tell which crypto layer to check for first
(nettle, gcrypt) and if the primary fails we can check for the other.
-- / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-11-15