aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/gnus/ChangeLog4
-rw-r--r--lisp/gnus/starttls.el30
-rw-r--r--lisp/net/tls.el4
4 files changed, 23 insertions, 17 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ef5fdc60838..b4c1365c1d3 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
12011-11-24 Glenn Morris <rgm@gnu.org> 12011-11-24 Glenn Morris <rgm@gnu.org>
2 2
3 * net/tls.el: Fix case of "GnuTLS".
4
3 * paths.el (rmail-file-name): Format doc-string for make-docfile. 5 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4 6
5 * version.el (emacs-build-system): Give it a doc-string. 7 * version.el (emacs-build-system): Give it a doc-string.
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 2b144529de1..eed5f921c57 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,7 @@
12011-11-24 Glenn Morris <rgm@gnu.org>
2
3 * starttls.el: Fix case of "GnuTLS".
4
12011-11-24 Juanma Barranquero <lekktu@gmail.com> 52011-11-24 Juanma Barranquero <lekktu@gmail.com>
2 6
3 * gnus-group.el (gnus-group-highlight): Fix typo. 7 * gnus-group.el (gnus-group-highlight): Fix typo.
diff --git a/lisp/gnus/starttls.el b/lisp/gnus/starttls.el
index b995f7478ce..58dbebf4c5a 100644
--- a/lisp/gnus/starttls.el
+++ b/lisp/gnus/starttls.el
@@ -5,7 +5,7 @@
5;; Author: Daiki Ueno <ueno@unixuser.org> 5;; Author: Daiki Ueno <ueno@unixuser.org>
6;; Author: Simon Josefsson <simon@josefsson.org> 6;; Author: Simon Josefsson <simon@josefsson.org>
7;; Created: 1999/11/20 7;; Created: 1999/11/20
8;; Keywords: TLS, SSL, OpenSSL, GNUTLS, mail, news 8;; Keywords: TLS, SSL, OpenSSL, GnuTLS, mail, news
9 9
10;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
11 11
@@ -33,15 +33,15 @@
33;; implementations both called "starttls.el". The first one is Daiki 33;; implementations both called "starttls.el". The first one is Daiki
34;; Ueno's starttls.el which uses his own "starttls" command line tool, 34;; Ueno's starttls.el which uses his own "starttls" command line tool,
35;; and the second one is Simon Josefsson's starttls.el which uses 35;; and the second one is Simon Josefsson's starttls.el which uses
36;; "gnutls-cli" from GNUTLS. 36;; "gnutls-cli" from GnuTLS.
37;; 37;;
38;; If "starttls" is available, it is prefered by the code over 38;; If "starttls" is available, it is prefered by the code over
39;; "gnutls-cli", for backwards compatibility. Use 39;; "gnutls-cli", for backwards compatibility. Use
40;; `starttls-use-gnutls' to toggle between implementations if you have 40;; `starttls-use-gnutls' to toggle between implementations if you have
41;; both tools installed. It is recommended to use GNUTLS, though, as 41;; both tools installed. It is recommended to use GnuTLS, though, as
42;; it performs more verification of the certificates. 42;; it performs more verification of the certificates.
43 43
44;; The GNUTLS support requires GNUTLS 0.9.90 (released 2003-10-08) or 44;; The GnuTLS support requires GnuTLS 0.9.90 (released 2003-10-08) or
45;; later, from <http://www.gnu.org/software/gnutls/>, or "starttls" 45;; later, from <http://www.gnu.org/software/gnutls/>, or "starttls"
46;; from <ftp://ftp.opaopa.org/pub/elisp/>. 46;; from <ftp://ftp.opaopa.org/pub/elisp/>.
47 47
@@ -121,8 +121,8 @@
121 :group 'mail) 121 :group 'mail)
122 122
123(defcustom starttls-gnutls-program "gnutls-cli" 123(defcustom starttls-gnutls-program "gnutls-cli"
124 "Name of GNUTLS command line tool. 124 "Name of GnuTLS command line tool.
125This program is used when GNUTLS is used, i.e. when 125This program is used when GnuTLS is used, i.e. when
126`starttls-use-gnutls' is non-nil." 126`starttls-use-gnutls' is non-nil."
127 :version "22.1" 127 :version "22.1"
128 :type 'string 128 :type 'string
@@ -136,7 +136,7 @@ i.e. when `starttls-use-gnutls' is nil."
136 :group 'starttls) 136 :group 'starttls)
137 137
138(defcustom starttls-use-gnutls (not (executable-find starttls-program)) 138(defcustom starttls-use-gnutls (not (executable-find starttls-program))
139 "*Whether to use GNUTLS instead of the `starttls' command." 139 "*Whether to use GnuTLS instead of the `starttls' command."
140 :version "22.1" 140 :version "22.1"
141 :type 'boolean 141 :type 'boolean
142 :group 'starttls) 142 :group 'starttls)
@@ -150,7 +150,7 @@ These apply when the `starttls' command is used, i.e. when
150 150
151(defcustom starttls-extra-arguments nil 151(defcustom starttls-extra-arguments nil
152 "Extra arguments to `starttls-program'. 152 "Extra arguments to `starttls-program'.
153These apply when GNUTLS is used, i.e. when `starttls-use-gnutls' is non-nil. 153These apply when GnuTLS is used, i.e. when `starttls-use-gnutls' is non-nil.
154 154
155For example, non-TLS compliant servers may require 155For example, non-TLS compliant servers may require
156'(\"--protocols\" \"ssl3\"). Invoke \"gnutls-cli --help\" to 156'(\"--protocols\" \"ssl3\"). Invoke \"gnutls-cli --help\" to
@@ -167,8 +167,8 @@ find out which parameters are available."
167 167
168(defcustom starttls-connect "- Simple Client Mode:\n\n" 168(defcustom starttls-connect "- Simple Client Mode:\n\n"
169 "*Regular expression indicating successful connection. 169 "*Regular expression indicating successful connection.
170The default is what GNUTLS's \"gnutls-cli\" outputs." 170The default is what GnuTLS's \"gnutls-cli\" outputs."
171 ;; GNUTLS cli.c:main() prints this string when it is starting to run 171 ;; GnuTLS cli.c:main() prints this string when it is starting to run
172 ;; in the application read/write phase. If the logic, or the string 172 ;; in the application read/write phase. If the logic, or the string
173 ;; itself, is modified, this must be updated. 173 ;; itself, is modified, this must be updated.
174 :version "22.1" 174 :version "22.1"
@@ -177,8 +177,8 @@ The default is what GNUTLS's \"gnutls-cli\" outputs."
177 177
178(defcustom starttls-failure "\\*\\*\\* Handshake has failed" 178(defcustom starttls-failure "\\*\\*\\* Handshake has failed"
179 "*Regular expression indicating failed TLS handshake. 179 "*Regular expression indicating failed TLS handshake.
180The default is what GNUTLS's \"gnutls-cli\" outputs." 180The default is what GnuTLS's \"gnutls-cli\" outputs."
181 ;; GNUTLS cli.c:do_handshake() prints this string on failure. If the 181 ;; GnuTLS cli.c:do_handshake() prints this string on failure. If the
182 ;; logic, or the string itself, is modified, this must be updated. 182 ;; logic, or the string itself, is modified, this must be updated.
183 :version "22.1" 183 :version "22.1"
184 :type 'regexp 184 :type 'regexp
@@ -186,8 +186,8 @@ The default is what GNUTLS's \"gnutls-cli\" outputs."
186 186
187(defcustom starttls-success "- Compression: " 187(defcustom starttls-success "- Compression: "
188 "*Regular expression indicating completed TLS handshakes. 188 "*Regular expression indicating completed TLS handshakes.
189The default is what GNUTLS's \"gnutls-cli\" outputs." 189The default is what GnuTLS's \"gnutls-cli\" outputs."
190 ;; GNUTLS cli.c:do_handshake() calls, on success, 190 ;; GnuTLS cli.c:do_handshake() calls, on success,
191 ;; common.c:print_info(), that unconditionally print this string 191 ;; common.c:print_info(), that unconditionally print this string
192 ;; last. If that logic, or the string itself, is modified, this 192 ;; last. If that logic, or the string itself, is modified, this
193 ;; must be updated. 193 ;; must be updated.
@@ -283,7 +283,7 @@ BUFFER is the buffer (or `buffer-name') to associate with the process.
283Third arg is name of the host to connect to, or its IP address. 283Third arg is name of the host to connect to, or its IP address.
284Fourth arg PORT is an integer specifying a port to connect to. 284Fourth arg PORT is an integer specifying a port to connect to.
285If `starttls-use-gnutls' is nil, this may also be a service name, but 285If `starttls-use-gnutls' is nil, this may also be a service name, but
286GNUTLS requires a port number." 286GnuTLS requires a port number."
287 (if starttls-use-gnutls 287 (if starttls-use-gnutls
288 (starttls-open-stream-gnutls name buffer host port) 288 (starttls-open-stream-gnutls name buffer host port)
289 (message "Opening STARTTLS connection to `%s:%s'" host (format "%s" port)) 289 (message "Opening STARTTLS connection to `%s:%s'" host (format "%s" port))
diff --git a/lisp/net/tls.el b/lisp/net/tls.el
index 42ae5920eee..6f66156a7e2 100644
--- a/lisp/net/tls.el
+++ b/lisp/net/tls.el
@@ -123,7 +123,7 @@ successful negotiation."
123 123
124(defcustom tls-success "- Handshake was completed\\|SSL handshake has read " 124(defcustom tls-success "- Handshake was completed\\|SSL handshake has read "
125 "Regular expression indicating completed TLS handshakes. 125 "Regular expression indicating completed TLS handshakes.
126The default is what GNUTLS's \"gnutls-cli\" or OpenSSL's 126The default is what GnuTLS's \"gnutls-cli\" or OpenSSL's
127\"openssl s_client\" outputs." 127\"openssl s_client\" outputs."
128 :version "22.1" 128 :version "22.1"
129 :type 'regexp 129 :type 'regexp
@@ -150,7 +150,7 @@ consider trustworthy, e.g.:
150(defcustom tls-untrusted 150(defcustom tls-untrusted
151 "- Peer's certificate is NOT trusted\\|Verify return code: \\([^0] \\|.[^ ]\\)" 151 "- Peer's certificate is NOT trusted\\|Verify return code: \\([^0] \\|.[^ ]\\)"
152 "Regular expression indicating failure of TLS certificate verification. 152 "Regular expression indicating failure of TLS certificate verification.
153The default is what GNUTLS's \"gnutls-cli\" or OpenSSL's 153The default is what GnuTLS's \"gnutls-cli\" or OpenSSL's
154\"openssl s_client\" return in the event of unsuccessful 154\"openssl s_client\" return in the event of unsuccessful
155verification." 155verification."
156 :type 'regexp 156 :type 'regexp