Subject: | Mail-Box-2.076 > Mail::Transport::IMAP4 |
Date: | Mon, 5 Nov 2007 15:54:48 +0000 |
To: | bug-Mail-Box [...] rt.cpan.org |
From: | "Zsolt Kecskemeti" <kecskemetizsolt [...] gmail.com> |
Hi,
Package: Mail-Box-2.076 > Mail::Transport::IMAP4
Auth type NTLM is mistyped as ntml both in variable name
$ntml_installed (used in lines 61, 66, 69, 79) and more importantly in
a require statement "require Authen::NTML" in line 67.
Change both to NTLM for clarity and to fix the error when trying to
use auth type NTLM in an IMAP4 connection.
Regards,
Zsolt Kecskemeti
patch------------------------------------------
61c61
< our $ntlm_installed;
---
Show quoted text
> our $ntml_installed;
66,69c66,69
< unless(defined $ntlm_installed)
< { eval "require Authen::NTLM";
< die "NTLM errors:\n$@" if $@ && $@ !~ /Can't locate/;
< $ntlm_installed = ! $@;
---
Show quoted text> unless(defined $ntml_installed)
> { eval "require Authen::NTML";
> die "NTML errors:\n$@" if $@ && $@ !~ /Can't locate/;
> $ntml_installed = ! $@;
79c79
< { @types = ('CRAM-MD5', ($ntlm_installed ? 'NTLM' : ()), 'PLAIN');
---
Show quoted text> { @types = ('CRAM-MD5', ($ntml_installed ? 'NTLM' : ()), 'PLAIN');
endofpatch------------------------------------------