[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] rcirc: support TLS/SSL and arbitrary connection method
From: |
Ted Zlatanov |
Subject: |
Re: [PATCH] rcirc: support TLS/SSL and arbitrary connection method |
Date: |
Tue, 31 May 2011 04:55:32 -0500 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) |
On Mon, 30 May 2011 23:46:30 +0200 Marco Pessotto <address@hidden> wrote:
MP> I'm writing you to submit a patch for rcirc.el to give it support for
MP> SSL connections.
...
MP> +(require 'tls)
...
MP> + (if use-tls
MP> + (setq process (open-tls-stream server nil server port-number))
MP> + (setq process (open-network-stream server nil server port-number))))
Recent trunk versions of Emacs have an `open-network-stream' that
supports the built-in GnuTLS code directly. That's much better than
`open-tls-stream'. Could you look at that and maybe use it?
Also I sent Ryan a patch recently to add auth-source support to
rcirc.el, but haven't heard back. I originally posted it to the
emacs-bug mailing list a few months ago and can resend it. I haven't
applied it because I don't use rcirc.el myself.
Ted