diff options
| author | Simon Josefsson | 2006-01-31 15:30:53 +0000 |
|---|---|---|
| committer | Simon Josefsson | 2006-01-31 15:30:53 +0000 |
| commit | 176cc13b336e2ae3f0d11a3f95881ff48065677f (patch) | |
| tree | 34a904571836d381996aef974674372ca598f7f5 | |
| parent | 360613cb30389de8381180828c12c180e77c790e (diff) | |
| download | emacs-176cc13b336e2ae3f0d11a3f95881ff48065677f.tar.gz emacs-176cc13b336e2ae3f0d11a3f95881ff48065677f.zip | |
* erc.el (erc-open-ssl-stream): Use tls.el.
| -rw-r--r-- | lisp/erc/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/erc/erc.el | 7 |
2 files changed, 8 insertions, 3 deletions
diff --git a/lisp/erc/ChangeLog b/lisp/erc/ChangeLog index 3089502d114..98022b601e6 100644 --- a/lisp/erc/ChangeLog +++ b/lisp/erc/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2006-01-30 Simon Josefsson <jas@extundo.com> | ||
| 2 | |||
| 3 | * erc.el (erc-open-ssl-stream): Use tls.el. | ||
| 4 | |||
| 1 | 2006-01-30 Michael Olson <mwolson@gnu.org> | 5 | 2006-01-30 Michael Olson <mwolson@gnu.org> |
| 2 | 6 | ||
| 3 | * erc-stamp.el (erc-timestamp-right-align-by-pixel): New option | 7 | * erc-stamp.el (erc-timestamp-right-align-by-pixel): New option |
diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el index 9ff3ff51dc5..3c6baf1fdb4 100644 --- a/lisp/erc/erc.el +++ b/lisp/erc/erc.el | |||
| @@ -2062,13 +2062,14 @@ Arguments are as to erc-select." | |||
| 2062 | "Open an SSL stream to an IRC server. | 2062 | "Open an SSL stream to an IRC server. |
| 2063 | The process will be given the name NAME, its target buffer will be | 2063 | The process will be given the name NAME, its target buffer will be |
| 2064 | BUFFER. HOST and PORT specify the connection target." | 2064 | BUFFER. HOST and PORT specify the connection target." |
| 2065 | (when (require 'ssl) | 2065 | (when (require 'tls) |
| 2066 | (let ((proc (open-ssl-stream name buffer host port))) | 2066 | (let ((proc (open-tls-stream name buffer host port))) |
| 2067 | ;; Ugly hack, but it works for now. Problem is it is | 2067 | ;; Ugly hack, but it works for now. Problem is it is |
| 2068 | ;; very hard to detect when ssl is established, because s_client | 2068 | ;; very hard to detect when ssl is established, because s_client |
| 2069 | ;; doesn't give any CONNECTIONESTABLISHED kind of message, and | 2069 | ;; doesn't give any CONNECTIONESTABLISHED kind of message, and |
| 2070 | ;; most IRC servers send nothing and wait for you to identify. | 2070 | ;; most IRC servers send nothing and wait for you to identify. |
| 2071 | (sit-for 5) | 2071 | ;; Disabled when switching to tls.el -- jas |
| 2072 | ;(sit-for 5) | ||
| 2072 | proc))) | 2073 | proc))) |
| 2073 | 2074 | ||
| 2074 | ;;; Debugging the protocol | 2075 | ;;; Debugging the protocol |