[gnus git] branch master updated: m0-11-85-g206930c =1= nnimap.el, pop3.el: Make IMAP and POP3 warn unless encrypted

Katsumi <[email protected]> Mon, 24 Nov 2014 13:59:24 +0100
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  206930c286472ebcc316946522b2d579fd958f89 (commit)
      from  f5a0192cba7cb12f15a669bc2c2a2d224253d2ac (commit)


- Log -----------------------------------------------------------------
commit 206930c286472ebcc316946522b2d579fd958f89
Author: Lars Magne Ingebrigtsen <[email protected]>
Date:   Mon Nov 24 12:59:04 2014 +0000

    nnimap.el, pop3.el: Make IMAP and POP3 warn unless encrypted

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index d794d4a..d1e078b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
+2014-11-23  Lars Magne Ingebrigtsen  <[email protected]>
+
+	* pop3.el (pop3-open-server): Warn unless encrypted.
+
+	* nnimap.el (nnimap-open-connection-1): Warn unless encrypted.
+
 2014-11-18  Paul Eggert  <[email protected]>
 
 	Port new time stamp handling to Emacs 23.2.
diff --git a/lisp/nnimap.el b/lisp/nnimap.el
index 7992151..45d10dd 100644
--- a/lisp/nnimap.el
+++ b/lisp/nnimap.el
@@ -405,6 +405,7 @@ textual parts.")
 	       "*nnimap*" (current-buffer) nnimap-address
 	       (nnimap-map-port (car ports))
 	       :type nnimap-stream
+	       :warn-unless-encrypted t
 	       :return-list t
 	       :shell-command nnimap-shell-program
 	       :capability-command "1 CAPABILITY\r\n"
diff --git a/lisp/pop3.el b/lisp/pop3.el
index dfc646b..64a704f 100644
--- a/lisp/pop3.el
+++ b/lisp/pop3.el
@@ -561,6 +561,7 @@ Returns the process associated with the connection."
 		     'tls)
 		    (t
 		     (or pop3-stream-type 'network)))
+	     :warn-unless-encrypted t
 	     :capability-command "CAPA\r\n"
 	     :end-of-command "^\\(-ERR\\|+OK\\).*\n"
 	     :end-of-capability "^\\.\r?\n\\|^-ERR"

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog |    6 ++++++
 lisp/nnimap.el |    1 +
 lisp/pop3.el   |    1 +
 3 files changed, 8 insertions(+)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project