From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/36154 Path: main.gmane.org!not-for-mail From: Amos Gouaux Newsgroups: gmane.emacs.gnus.general Subject: Re: secnews.netscape.com? Date: 08 May 2001 18:17:15 -0500 Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035171788 7064 80.91.224.250 (21 Oct 2002 03:43:08 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:43:08 +0000 (UTC) Return-Path: Original-Received: (qmail 2245 invoked by alias); 8 May 2001 23:16:58 -0000 Original-Received: (qmail 2240 invoked from network); 8 May 2001 23:16:58 -0000 Original-Received: from ns0.utdallas.edu (129.110.10.1) by gnus.org with SMTP; 8 May 2001 23:16:58 -0000 Original-Received: from spartacus.utdallas.edu (spartacus.utdallas.edu [129.110.3.11]) by ns0.utdallas.edu (Postfix) with SMTP id 6C7B41A022F for ; Tue, 8 May 2001 18:16:57 -0500 (CDT) Original-To: ding@gnus.org In-Reply-To: (Amos Gouaux's message of "07 May 2001 23:49:05 -0500") User-Agent: Gnus/5.090003 (Oort Gnus v0.03) XEmacs/21.1 (Cuyahoga Valley) Original-Lines: 48 Xref: main.gmane.org gmane.emacs.gnus.general:36154 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:36154 >>>>> On 07 May 2001 23:49:05 -0500, >>>>> Amos Gouaux (ag) writes: ag> (nntp "netscape" ag> (nntp-open-connection-function nntp-open-ssl-stream) ag> (nntp-port-number 563) ag> (nntp-address "secnews.netscape.com")) ag> However, after doing all of that, if I press `O' to open that ag> server, I get back "Couldn't open netscape". If I just hit the ag> return key on that entry: "Unable to contact server netscape:". I ag> even tried setting `debug-on-error' to `t', but nothing happens. Well, this was interesting. I looked in the ding archive and noticed the maintainer of w3 stating that ssl-program-arguments shouldn't be modified. Something about "s_client" no longer being valid with OpenSSL. Well, I'm not sure where that comes from because it sure seems to be valid with openssl-0.9.6a. I also notice that imap.el uses this command to openssl. So, I tried the following alteration: *** lisp/nntp.el.~1~ Mon Apr 30 16:39:59 2001 --- lisp/nntp.el Tue May 8 18:09:11 2001 *************** *** 920,927 **** (open-network-stream "nntpd" buffer nntp-address nntp-port-number)) (defun nntp-open-ssl-stream (buffer) ! (let* ((ssl-program-arguments '("-connect" (concat host ":" service))) ! (proc (open-ssl-stream "nntpd" buffer nntp-address nntp-port-number))) (save-excursion (set-buffer buffer) (nntp-wait-for-string "^\r*20[01]") --- 920,927 ---- (open-network-stream "nntpd" buffer nntp-address nntp-port-number)) (defun nntp-open-ssl-stream (buffer) ! (let* ((ssl-program-arguments '("s_client" "-connect" (concat host ":" service))) ! (proc (open-ssl-stream "nntpd-ssl" buffer nntp-address nntp-port-number))) (save-excursion (set-buffer buffer) (nntp-wait-for-string "^\r*20[01]") Now I'm able to login to secnews.netscape.com:563 without any problems. -- Amos