Commits

Anonymous committed c6dcbbd

2002-09-28 Simon Josefsson <jas@extundo.com>

* smtpmail.el (smtpmail-via-smtp): Only negotiate starttls on
streams that were opened using starttls.

Comments (0)

Files changed (2)

+2002-09-28  Simon Josefsson  <jas@extundo.com>
+
+	* smtpmail.el (smtpmail-via-smtp): Only negotiate starttls on
+	streams that were opened using starttls.
+
 2002-09-26  Rendhalver [Peter Brown]  <rendhalver@xemacs.org>
 
 	* Makefile (VERSION): XEmacs package 1.51 released.
 	    (if (and do-starttls
 		     (smtpmail-find-credentials smtpmail-starttls-credentials host port)
 		     (member 'starttls supported-extensions)
-		     (process-id process))
+		     (numberp (process-id process)))
 		(progn
 		  (smtpmail-send-command process (format "STARTTLS"))
 		  (if (or (null (car (setq response-code (smtpmail-read-response process))))