From 9105b796754bb4f986dbe2192e0101481a9fa218 Mon Sep 17 00:00:00 2001 From: osa Date: Sun, 20 Jul 2003 12:09:18 +0000 Subject: Fix APOP, mark SASL as broken Submitted by: Bruce M Simpson Approved by: Udo Schweigert (maintainer) PR: 54592 --- mail/mutt-devel/files/patch-pop_auth.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 mail/mutt-devel/files/patch-pop_auth.c (limited to 'mail/mutt-devel/files') 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]); -- cgit