On Mon, Jul 29, 2013 at 5:46 AM, Vladislav Kurz
<vladislav.k...@webstep.net>wrote:
> Is ther any particular reason why gnuTLS is used by default, and why
gnuTLS does not support NTLM?

The reason is that the code written to support NTLM comes from when wget
only supported OpenSSL,
and hadn't been updated. Further, GnuTLS didn't provide certain
cryptographic functions required for
NTLM, that OpenSSL does provide. However, someone pointed out that GnuTLS
depends on another
library that _does_ provide these functions, and so a patch was recently
created to support NTLM with
GnuTLS.

The upstream thread on this topic starts at
http://lists.gnu.org/archive/html/bug-wget/2013-07/msg00043.html

The proposed patch on that thread has since been pushed to git. Here's the
main fix:
http://git.savannah.gnu.org/cgit/wget.git/commit/?id=c19d76c02483f070beb688d6fe6f5fafb5674a08

And here's an additional related change, fixing OpenSSL builds that were
broken by that patch (probably won't
apply cleanly atop the previous one, would need to fix up the changelogs,
or else additionally apply the
unrelated single git changeset that was introduced between these two:

http://git.savannah.gnu.org/cgit/wget.git/commit/?id=ffb94036f2116649a8de1a930820056aea9cb65f

HTH,
-mjc

Reply via email to