void-packages/srcpkgs/alpine/patches/418e8bc5.patch

22 lines
734 B
Diff

From 418e8bc5789d9ef223f043848619b6a648748dcc Mon Sep 17 00:00:00 2001
From: Eduardo Chappa <chappa@washington.edu>
Date: Thu, 22 Aug 2019 19:11:53 -0600
Subject: [PATCH 1/1] * Ignore extra text in challenge from smtp server
during authentication.
---
imap/src/c-client/smtp.c | 1 +
pith/pine.hlp | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
--- imap/src/c-client/smtp.c
+++ imap/src/c-client/smtp.c
@@ -363,6 +363,7 @@ void *smtp_challenge (void *s,unsigned long *len)
sprintf (tmp,"SMTP SERVER BUG (invalid challenge, continuing): %.80s",stream->reply+4);
mm_log (tmp,ERROR);
ret = cpystr(""); /* This is silly: fake a reply, it will be ignored */
+ *len = 0L;
}
return ret;
}