diff options
author | Sergey A. Osokin <osa@FreeBSD.org> | 2003-07-20 12:09:18 +0000 |
---|---|---|
committer | Sergey A. Osokin <osa@FreeBSD.org> | 2003-07-20 12:09:18 +0000 |
commit | 046302cfd966a7379fcaa991ffb1ec2d84dfbae1 (patch) | |
tree | cc163fa7dcf3140c30f71c4386c33d321b033853 /mail/mutt-devel/files/patch-pop_auth.c | |
parent | FCE Ultra is an NTSC and PAL Famicom/NES emulator for various (diff) |
Fix APOP, mark SASL as broken
Submitted by: Bruce M Simpson <bms@spc.org>
Approved by: Udo Schweigert <udo.schweigert@siemens.com> (maintainer)
PR: 54592
Notes
Notes:
svn path=/head/; revision=85229
Diffstat (limited to 'mail/mutt-devel/files/patch-pop_auth.c')
-rw-r--r-- | mail/mutt-devel/files/patch-pop_auth.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/mail/mutt-devel/files/patch-pop_auth.c b/mail/mutt-devel/files/patch-pop_auth.c new file mode 100644 index 000000000000..1f7a37f269be --- /dev/null +++ b/mail/mutt-devel/files/patch-pop_auth.c @@ -0,0 +1,19 @@ +--- pop_auth.c.orig Thu Jul 17 19:42:53 2003 ++++ pop_auth.c Thu Jul 17 19:46:01 2003 +@@ -206,12 +206,12 @@ + mutt_message _("Authenticating (APOP)..."); + + /* Compute the authentication hash to send to the server */ +- MD5Init (&mdContext); +- MD5Update (&mdContext, (unsigned char *)pop_data->timestamp, ++ MD5_Init (&mdContext); ++ MD5_Update (&mdContext, (unsigned char *)pop_data->timestamp, + strlen (pop_data->timestamp)); +- MD5Update (&mdContext, (unsigned char *)pop_data->conn->account.pass, ++ MD5_Update (&mdContext, (unsigned char *)pop_data->conn->account.pass, + strlen (pop_data->conn->account.pass)); +- MD5Final (digest, &mdContext); ++ MD5_Final (digest, &mdContext); + + for (i = 0; i < sizeof (digest); i++) + sprintf (hash + 2 * i, "%02x", digest[i]); |