all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* erc -- uses ssl.el
@ 2006-01-30 12:03 Simon Josefsson
  2006-01-30 15:47 ` Michael Olson
  2006-01-30 23:25 ` Richard M. Stallman
  0 siblings, 2 replies; 4+ messages in thread
From: Simon Josefsson @ 2006-01-30 12:03 UTC (permalink / raw)


Ok to install?  ssl.el is not part of Emacs, but tls.el is.  The API
is similar, but I don't believe tls.el has the bug that is mentioned
in the comment below.  Is anyone using ERC with ssl.el and can test
this?  It is supposed to be backwards compatible, and uses s_client if
gnutls-cli is not available.

2006-01-30  Simon Josefsson  <jas@extundo.com>

	* erc.el (erc-open-ssl-stream): Use tls.el.

--- erc.el	29 Jan 2006 14:08:57 +0100	1.1
+++ erc.el	30 Jan 2006 13:01:59 +0100	
@@ -2062,13 +2062,14 @@
   "Open an SSL stream to an IRC server.
 The process will be given the name NAME, its target buffer will be
 BUFFER.	 HOST and PORT specify the connection target."
-  (when (require 'ssl)
-    (let ((proc (open-ssl-stream name buffer host port)))
+  (when (require 'tls)
+    (let ((proc (open-tls-stream name buffer host port)))
       ;; Ugly hack, but it works for now. Problem is it is
       ;; very hard to detect when ssl is established, because s_client
       ;; doesn't give any CONNECTIONESTABLISHED kind of message, and
       ;; most IRC servers send nothing and wait for you to identify.
-      (sit-for 5)
+      ;; Disabled when switching to tls.el -- jas
+      ;(sit-for 5)
       proc)))
 
 ;;; Debugging the protocol

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: erc -- uses ssl.el
  2006-01-30 12:03 erc -- uses ssl.el Simon Josefsson
@ 2006-01-30 15:47 ` Michael Olson
  2006-01-30 23:25 ` Richard M. Stallman
  1 sibling, 0 replies; 4+ messages in thread
From: Michael Olson @ 2006-01-30 15:47 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 726 bytes --]

Simon Josefsson <jas@extundo.com> writes:

> Ok to install?  ssl.el is not part of Emacs, but tls.el is.  The API
> is similar, but I don't believe tls.el has the bug that is mentioned
> in the comment below.  Is anyone using ERC with ssl.el and can test
> this?  It is supposed to be backwards compatible, and uses s_client
> if gnutls-cli is not available.

That should work out well -- feel free to install it.  I'll merge this
back to upstream once it hits Emacs CVS.

-- 
Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
Interests: manga, Debian, XHTML, wiki, Emacs Lisp
  /` |\ | | | IRC: mwolson on freenode.net: #hcoop, #muse, #PurdueLUG
 |_] | \| |_| Jabber: mwolson_at_hcoop.net

[-- Attachment #1.2: Type: application/pgp-signature, Size: 188 bytes --]

[-- Attachment #2: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: erc -- uses ssl.el
  2006-01-30 12:03 erc -- uses ssl.el Simon Josefsson
  2006-01-30 15:47 ` Michael Olson
@ 2006-01-30 23:25 ` Richard M. Stallman
  2006-01-31 15:30   ` Simon Josefsson
  1 sibling, 1 reply; 4+ messages in thread
From: Richard M. Stallman @ 2006-01-30 23:25 UTC (permalink / raw)
  Cc: Mario.Lang, emacs-devel

It seems correct to me.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: erc -- uses ssl.el
  2006-01-30 23:25 ` Richard M. Stallman
@ 2006-01-31 15:30   ` Simon Josefsson
  0 siblings, 0 replies; 4+ messages in thread
From: Simon Josefsson @ 2006-01-31 15:30 UTC (permalink / raw)
  Cc: Mario.Lang, emacs-devel

"Richard M. Stallman" <rms@gnu.org> writes:

> It seems correct to me.

I have installed it.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-01-31 15:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-30 12:03 erc -- uses ssl.el Simon Josefsson
2006-01-30 15:47 ` Michael Olson
2006-01-30 23:25 ` Richard M. Stallman
2006-01-31 15:30   ` Simon Josefsson

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.