Subject: bug#19583: nntp-open-server: wrong buffer for nnoo-change-server; breaks url-news

From: Ivan Shmakov <[email-masked]>
Date: Sat, 14 Feb 2015 13:37:51 +0000

>>>>> Lars Ingebrigtsen <[email-masked]> writes:
>>>>> Ivan Shmakov <[email-masked]> writes:

 >> That’s simple: the TLS stuff there is ought to reject self-signed
 >> certificates outright, and news.gmane.org just happens to use one.

 > No certificates are rejected; they're normally all prompted for by
 > the network security manager.  So the question is why that isn't
 > happening here, if indeed that's the problem.

	It seems so; cf.:

(with-temp-buffer
  (kill-buffer " *nntpd*")
  (setq nntp-open-connection-function 'nntp-open-plain-stream)
  (nntp-open-server "news.gmane.org"
                    '((nntp-port-number 119))))
#<process nntpd>

(with-temp-buffer
  (kill-buffer " *nntpd*")
  (setq nntp-open-connection-function 'nntp-open-network-stream)
  (nntp-open-server "news.gmane.org"
                    '((nntp-port-number 119))))
nil

-- 
FSF associate member #7257  np. The Talisman — Iron Maiden   … B6A0 230E 334A