diff options
-rw-r--r-- | NEWS | 8 | ||||
-rw-r--r-- | TODO.txt | 2 | ||||
-rw-r--r-- | socket.c | 2 |
3 files changed, 8 insertions, 4 deletions
@@ -73,9 +73,15 @@ fetchmail 6.3.6 (not yet released): headers is found while fetchmail's mda option is in use. BerliOS bugs #9364, #9412, #9449. Stack backtrace provided by Neil Hoggarth - thanks. -# BUG FIXES: +# REGRESSION FIXES: * Repair --logfile, broken in 6.3.5. BerliOS Bug #9059, reported by Brian Harring. +* In 6.3.5 (as a side effect of the authenticate external patch), using SSL + certificate/key authentication overrode the --user option. Now the latter + takes precedence, and only defaults to the certificate's common name. + Debian Bug #400950, reported by Jorgen Schaefer <forcer@debian.org>. + +# BUG FIXES: * POP3: Probe capabilities when Kerberos V5 is attempted. * RPOP: The password is now shrouded in the local logs. * Robustness: If a stale lockfile cannot be deleted, truncate it to avoid @@ -1,7 +1,5 @@ 6.3.6: - Zak's further minor issues -- Debian Bug #400950: SSL cert CN overrides --user, since - Götz Nimrill's authenticate external patch. 6.3.7: - more SMTP/LMTP error detail on message rejections even outside verbose mode. @@ -942,7 +942,7 @@ int SSLOpen(int sock, char *mycert, char *mykey, char *myproto, int certck, char if( !mycert ) mycert = mykey; - if (SSLCertGetCN(mycert, buffer, sizeof(buffer))) { + if ((!*remotename || !**remotename) && SSLCertGetCN(mycert, buffer, sizeof(buffer))) { free(*remotename); *remotename = xstrdup(buffer); } |