# HG changeset patch # User Simon Josefsson # Date 1138721453 0 # Node ID 04ad8d666956074d928852e5f45b2ceda62d838d # Parent 528aecb860cf4fe6d28e82074d30e618e28317b0 * erc.el (erc-open-ssl-stream): Use tls.el. diff -r 528aecb860cf -r 04ad8d666956 lisp/erc/ChangeLog --- a/lisp/erc/ChangeLog Tue Jan 31 00:24:36 2006 +0000 +++ b/lisp/erc/ChangeLog Tue Jan 31 15:30:53 2006 +0000 @@ -1,3 +1,7 @@ +2006-01-30 Simon Josefsson + + * erc.el (erc-open-ssl-stream): Use tls.el. + 2006-01-30 Michael Olson * erc-stamp.el (erc-timestamp-right-align-by-pixel): New option diff -r 528aecb860cf -r 04ad8d666956 lisp/erc/erc.el --- a/lisp/erc/erc.el Tue Jan 31 00:24:36 2006 +0000 +++ b/lisp/erc/erc.el Tue Jan 31 15:30:53 2006 +0000 @@ -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