Menu

#9 pop3 starttls patch

v1.0 (example)
open
5
2015-08-19
2015-08-19
msb
No

starttls for pop3 doesn't work on FreeBSD 10. (I suspect this is true for other platforms). The following patche resolves this:

--- /tmp/mstone-4.9.4/src/pop3.c 2007-06-14 17:48:46.000000000 -0600
+++ pop3.c 2015-08-19 16:13:54.782276000 -0600
@@ -333,7 +333,7 @@
D_PRINTF(debugfile, "trying STLS\n");
event_start(ptcx, &stats->cmd);
if (doPopCommandResponse(ptcx, ptcx->sock, "STLS" CRLF, respBuffer,
- sizeof(respBuffer) >= 0)) {
+ sizeof(respBuffer)) >= 0) {
s = ptcx->sock;
SSL_INIT(s, pish);
}

Discussion


Log in to post a comment.