diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/gnus/ChangeLog | 41 | ||||
| -rw-r--r-- | lisp/gnus/auth-source.el | 62 | ||||
| -rw-r--r-- | lisp/gnus/gnus-diary.el | 8 | ||||
| -rw-r--r-- | lisp/gnus/gnus-registry.el | 3 | ||||
| -rw-r--r-- | lisp/gnus/gnus-sum.el | 2 | ||||
| -rw-r--r-- | lisp/gnus/message.el | 5 | ||||
| -rw-r--r-- | lisp/gnus/mm-decode.el | 6 | ||||
| -rw-r--r-- | lisp/net/tls.el | 12 |
9 files changed, 106 insertions, 39 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2445d554417..0f065ec2a31 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2008-04-22 Naohiro Aota <nao.aota@gmail.com> (tiny change) | ||
| 2 | |||
| 3 | * net/tls.el (tls-program): Add -ign_eof argument to call the | ||
| 4 | openssl commands. | ||
| 5 | (tls-checktrust): Ditto. | ||
| 6 | |||
| 1 | 2008-04-21 Dan Nicolaescu <dann@ics.uci.edu> | 7 | 2008-04-21 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 8 | ||
| 3 | * vc-hooks.el (vc-insert-file, vc-state, vc-working-revision) | 9 | * vc-hooks.el (vc-insert-file, vc-state, vc-working-revision) |
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 535271a2556..4b19735f824 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,37 @@ | |||
| 1 | 2008-04-13 Reiner Steib <Reiner.Steib@gmx.de> | ||
| 2 | |||
| 3 | * message.el (message-signature-separator, message-cite-function): | ||
| 4 | Change custom version. | ||
| 5 | |||
| 6 | 2008-04-13 Reiner Steib <Reiner.Steib@gmx.de> | ||
| 7 | |||
| 8 | * mm-decode.el (mm-display-external): Make temp file read-only. | ||
| 9 | |||
| 10 | 2008-04-12 Reiner Steib <Reiner.Steib@gmx.de> | ||
| 11 | |||
| 12 | * gnus-diary.el (gnus-article-edit-mode-map, message-mode-map): Remove | ||
| 13 | binding for `gnus-diary-version'. Bind `gnus-diary-check-message' to | ||
| 14 | `C-c C-f d'. | ||
| 15 | |||
| 16 | 2008-04-12 Adrian Aichner <adrian@xemacs.org> | ||
| 17 | |||
| 18 | * gnus-sum.el (gnus-summary-goto-subject): Typo fix. | ||
| 19 | |||
| 20 | 2008-04-09 Teodor Zlatanov <tzz@lifelogs.com> | ||
| 21 | |||
| 22 | * auth-source.el: Added docs. | ||
| 23 | (auth-sources): Modified format to support server. | ||
| 24 | (auth-source-pick, auth-source-user-or-password) | ||
| 25 | (auth-source-user-or-password-imap) | ||
| 26 | (auth-source-user-or-password-pop3, auth-source-user-or-password-ssh) | ||
| 27 | (auth-source-user-or-password-sftp) | ||
| 28 | (auth-source-user-or-password-smtp): Add server parameter. | ||
| 29 | |||
| 30 | 2008-04-08 Teodor Zlatanov <tzz@lifelogs.com> | ||
| 31 | |||
| 32 | * gnus-registry.el: Initialize the registry when gnus-registry-install | ||
| 33 | is t. | ||
| 34 | |||
| 1 | 2008-04-08 Katsumi Yamaoka <yamaoka@jpl.org> | 35 | 2008-04-08 Katsumi Yamaoka <yamaoka@jpl.org> |
| 2 | 36 | ||
| 3 | * compface.el (uncompface): Make buffer unibyte. | 37 | * compface.el (uncompface): Make buffer unibyte. |
| @@ -1393,8 +1427,11 @@ | |||
| 1393 | (message-fix-before-sending): Add `bogus-recipient'. | 1427 | (message-fix-before-sending): Add `bogus-recipient'. |
| 1394 | 1428 | ||
| 1395 | * gnus-art.el (gnus-button-mid-or-mail-heuristic-alist): Add "alpine". | 1429 | * gnus-art.el (gnus-button-mid-or-mail-heuristic-alist): Add "alpine". |
| 1396 | (gnus-treat-emphasize, gnus-treat-body-boundary): Don't test | 1430 | (gnus-treat-body-boundary): Don't test window-system. |
| 1397 | window-system. | 1431 | |
| 1432 | 2007-10-28 Leo <sdl.web@gmail.com> (tiny change) | ||
| 1433 | |||
| 1434 | * gnus-art.el (gnus-treat-emphasize): Don't test window-system. | ||
| 1398 | 1435 | ||
| 1399 | 2007-10-28 Reiner Steib <Reiner.Steib@gmx.de> | 1436 | 2007-10-28 Reiner Steib <Reiner.Steib@gmx.de> |
| 1400 | 1437 | ||
diff --git a/lisp/gnus/auth-source.el b/lisp/gnus/auth-source.el index f37e0368845..9883eb64acc 100644 --- a/lisp/gnus/auth-source.el +++ b/lisp/gnus/auth-source.el | |||
| @@ -28,6 +28,19 @@ | |||
| 28 | ;; authenticate in a single place. Simplicity is the goal. Instead | 28 | ;; authenticate in a single place. Simplicity is the goal. Instead |
| 29 | ;; of providing 5000 options, we'll stick to simple, easy to | 29 | ;; of providing 5000 options, we'll stick to simple, easy to |
| 30 | ;; understand options. | 30 | ;; understand options. |
| 31 | |||
| 32 | ;; Easy setup: | ||
| 33 | ;; (require 'auth-source) | ||
| 34 | ;; (customize-variable 'auth-sources) ;; optional | ||
| 35 | |||
| 36 | ;; now, whatever sources you've defined for password have to be available | ||
| 37 | |||
| 38 | ;; if you want encrypted sources, which is strongly recommended, do | ||
| 39 | ;; (require 'epa-file) | ||
| 40 | ;; (epa-file-mode) | ||
| 41 | |||
| 42 | ;; before you put some data in ~/.authinfo.gpg (the default place) | ||
| 43 | |||
| 31 | ;;; Code: | 44 | ;;; Code: |
| 32 | 45 | ||
| 33 | (eval-when-compile (require 'cl)) | 46 | (eval-when-compile (require 'cl)) |
| @@ -73,10 +86,15 @@ Each entry is the authentication type with optional properties." | |||
| 73 | (list :tag "Source definition" | 86 | (list :tag "Source definition" |
| 74 | (const :format "" :value :source) | 87 | (const :format "" :value :source) |
| 75 | (string :tag "Authentication Source") | 88 | (string :tag "Authentication Source") |
| 89 | (const :format "" :value :server) | ||
| 90 | (choice :tag "Server (logical name) choice" | ||
| 91 | (const :tag "Any" t) | ||
| 92 | (regexp :tag "Server regular expression (TODO)") | ||
| 93 | (const :tag "Fallback" nil)) | ||
| 76 | (const :format "" :value :host) | 94 | (const :format "" :value :host) |
| 77 | (choice :tag "Host choice" | 95 | (choice :tag "Host (machine) choice" |
| 78 | (const :tag "Any" t) | 96 | (const :tag "Any" t) |
| 79 | (regexp :tag "Host regular expression (TODO)") | 97 | (regexp :tag "Host (machine) regular expression (TODO)") |
| 80 | (const :tag "Fallback" nil)) | 98 | (const :tag "Fallback" nil)) |
| 81 | (const :format "" :value :protocol) | 99 | (const :format "" :value :protocol) |
| 82 | (choice :tag "Protocol" | 100 | (choice :tag "Protocol" |
| @@ -100,16 +118,20 @@ Each entry is the authentication type with optional properties." | |||
| 100 | ;; (auth-source-user-or-password-imap "password" "imap.myhost.com") | 118 | ;; (auth-source-user-or-password-imap "password" "imap.myhost.com") |
| 101 | ;; (auth-source-protocol-defaults 'imap) | 119 | ;; (auth-source-protocol-defaults 'imap) |
| 102 | 120 | ||
| 103 | (defun auth-source-pick (host protocol &optional fallback) | 121 | (defun auth-source-pick (server host protocol &optional fallback) |
| 104 | "Parse `auth-sources' for HOST and PROTOCOL matches. | 122 | "Parse `auth-sources' for SERVER, HOST, and PROTOCOL matches. |
| 105 | 123 | ||
| 106 | Returns fallback choices (where PROTOCOL or HOST are nil) with FALLBACK t." | 124 | Returns fallback choices (where SERVER. PROTOCOL or HOST are nil) with FALLBACK t." |
| 107 | (interactive "sHost: \nsProtocol: \n") ;for testing | 125 | (interactive "sHost: \nsProtocol: \n") ;for testing |
| 108 | (let (choices) | 126 | (let (choices) |
| 109 | (dolist (choice auth-sources) | 127 | (dolist (choice auth-sources) |
| 110 | (let ((h (plist-get choice :host)) | 128 | (let ((s (plist-get choice :server)) |
| 129 | (h (plist-get choice :host)) | ||
| 111 | (p (plist-get choice :protocol))) | 130 | (p (plist-get choice :protocol))) |
| 112 | (when (and | 131 | (when (and |
| 132 | (or (equal t s) | ||
| 133 | (and (stringp s) (string-match s server)) | ||
| 134 | (and fallback (equal s nil))) | ||
| 113 | (or (equal t h) | 135 | (or (equal t h) |
| 114 | (and (stringp h) (string-match h host)) | 136 | (and (stringp h) (string-match h host)) |
| 115 | (and fallback (equal h nil))) | 137 | (and fallback (equal h nil))) |
| @@ -120,12 +142,12 @@ Returns fallback choices (where PROTOCOL or HOST are nil) with FALLBACK t." | |||
| 120 | (if choices | 142 | (if choices |
| 121 | choices | 143 | choices |
| 122 | (unless fallback | 144 | (unless fallback |
| 123 | (auth-source-pick host protocol t))))) | 145 | (auth-source-pick server host protocol t))))) |
| 124 | 146 | ||
| 125 | (defun auth-source-user-or-password (mode host protocol) | 147 | (defun auth-source-user-or-password (mode server host protocol) |
| 126 | "Find user or password (from the string MODE) matching HOST and PROTOCOL." | 148 | "Find user or password (from the string MODE) matching SERVER, HOST, and PROTOCOL." |
| 127 | (let (found) | 149 | (let (found) |
| 128 | (dolist (choice (auth-source-pick host protocol)) | 150 | (dolist (choice (auth-source-pick server host protocol)) |
| 129 | (setq found (netrc-machine-user-or-password | 151 | (setq found (netrc-machine-user-or-password |
| 130 | mode | 152 | mode |
| 131 | (plist-get choice :source) | 153 | (plist-get choice :source) |
| @@ -139,20 +161,20 @@ Returns fallback choices (where PROTOCOL or HOST are nil) with FALLBACK t." | |||
| 139 | "Return a list of default ports and names for PROTOCOL." | 161 | "Return a list of default ports and names for PROTOCOL." |
| 140 | (cdr-safe (assoc protocol auth-source-protocols))) | 162 | (cdr-safe (assoc protocol auth-source-protocols))) |
| 141 | 163 | ||
| 142 | (defun auth-source-user-or-password-imap (mode host) | 164 | (defun auth-source-user-or-password-imap (mode server host) |
| 143 | (auth-source-user-or-password mode host 'imap)) | 165 | (auth-source-user-or-password mode server host 'imap)) |
| 144 | 166 | ||
| 145 | (defun auth-source-user-or-password-pop3 (mode host) | 167 | (defun auth-source-user-or-password-pop3 (mode server host) |
| 146 | (auth-source-user-or-password mode host 'pop3)) | 168 | (auth-source-user-or-password mode server host 'pop3)) |
| 147 | 169 | ||
| 148 | (defun auth-source-user-or-password-ssh (mode host) | 170 | (defun auth-source-user-or-password-ssh (mode server host) |
| 149 | (auth-source-user-or-password mode host 'ssh)) | 171 | (auth-source-user-or-password mode server host 'ssh)) |
| 150 | 172 | ||
| 151 | (defun auth-source-user-or-password-sftp (mode host) | 173 | (defun auth-source-user-or-password-sftp (mode server host) |
| 152 | (auth-source-user-or-password mode host 'sftp)) | 174 | (auth-source-user-or-password mode server host 'sftp)) |
| 153 | 175 | ||
| 154 | (defun auth-source-user-or-password-smtp (mode host) | 176 | (defun auth-source-user-or-password-smtp (mode server host) |
| 155 | (auth-source-user-or-password mode host 'smtp)) | 177 | (auth-source-user-or-password mode server host 'smtp)) |
| 156 | 178 | ||
| 157 | (provide 'auth-source) | 179 | (provide 'auth-source) |
| 158 | 180 | ||
diff --git a/lisp/gnus/gnus-diary.el b/lisp/gnus/gnus-diary.el index db7f7135e5f..183214f9220 100644 --- a/lisp/gnus/gnus-diary.el +++ b/lisp/gnus/gnus-diary.el | |||
| @@ -390,8 +390,8 @@ If ARG (or prefix) is non-nil, force prompting for all fields." | |||
| 390 | (add-hook 'nndiary-request-accept-article-hooks | 390 | (add-hook 'nndiary-request-accept-article-hooks |
| 391 | (lambda () (gnus-diary-check-message nil))) | 391 | (lambda () (gnus-diary-check-message nil))) |
| 392 | 392 | ||
| 393 | (define-key message-mode-map "\C-cDc" 'gnus-diary-check-message) | 393 | (define-key message-mode-map "\C-c\C-fd" 'gnus-diary-check-message) |
| 394 | (define-key gnus-article-edit-mode-map "\C-cDc" 'gnus-diary-check-message) | 394 | (define-key gnus-article-edit-mode-map "\C-c\C-fd" 'gnus-diary-check-message) |
| 395 | 395 | ||
| 396 | 396 | ||
| 397 | ;; The end ================================================================== | 397 | ;; The end ================================================================== |
| @@ -401,10 +401,6 @@ If ARG (or prefix) is non-nil, force prompting for all fields." | |||
| 401 | (interactive) | 401 | (interactive) |
| 402 | (message "NNDiary version %s" nndiary-version)) | 402 | (message "NNDiary version %s" nndiary-version)) |
| 403 | 403 | ||
| 404 | (define-key message-mode-map "\C-cDv" 'gnus-diary-version) | ||
| 405 | (define-key gnus-article-edit-mode-map "\C-cDv" 'gnus-diary-version) | ||
| 406 | |||
| 407 | |||
| 408 | (provide 'gnus-diary) | 404 | (provide 'gnus-diary) |
| 409 | 405 | ||
| 410 | ;; arch-tag: 98467e70-337e-4ddc-b92d-45d403ff1b4b | 406 | ;; arch-tag: 98467e70-337e-4ddc-b92d-45d403ff1b4b |
diff --git a/lisp/gnus/gnus-registry.el b/lisp/gnus/gnus-registry.el index b5ec4e1ae5f..fd08d4d1e39 100644 --- a/lisp/gnus/gnus-registry.el +++ b/lisp/gnus/gnus-registry.el | |||
| @@ -1115,7 +1115,8 @@ Returns the first place where the trail finds a group name." | |||
| 1115 | ;;; we could call it here: (customize-variable 'gnus-registry-install) | 1115 | ;;; we could call it here: (customize-variable 'gnus-registry-install) |
| 1116 | gnus-registry-install) | 1116 | gnus-registry-install) |
| 1117 | 1117 | ||
| 1118 | (when (gnus-registry-install-p) | 1118 | (when (or (eq gnus-registry-install t) |
| 1119 | (gnus-registry-install-p)) | ||
| 1119 | (gnus-registry-initialize)) | 1120 | (gnus-registry-initialize)) |
| 1120 | 1121 | ||
| 1121 | ;; TODO: a few things | 1122 | ;; TODO: a few things |
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el index 0d76e63bf74..6b9f9c65f22 100644 --- a/lisp/gnus/gnus-sum.el +++ b/lisp/gnus/gnus-sum.el | |||
| @@ -7445,7 +7445,7 @@ If optional argument UNREAD is non-nil, only unread article is selected." | |||
| 7445 | (gnus-summary-position-point)) | 7445 | (gnus-summary-position-point)) |
| 7446 | 7446 | ||
| 7447 | (defun gnus-summary-goto-subject (article &optional force silent) | 7447 | (defun gnus-summary-goto-subject (article &optional force silent) |
| 7448 | "Go the subject line of ARTICLE. | 7448 | "Go to the subject line of ARTICLE. |
| 7449 | If FORCE, also allow jumping to articles not currently shown." | 7449 | If FORCE, also allow jumping to articles not currently shown." |
| 7450 | (interactive "nArticle number: ") | 7450 | (interactive "nArticle number: ") |
| 7451 | (unless (numberp article) | 7451 | (unless (numberp article) |
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index 117ac00e5ba..f35b9a336bb 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el | |||
| @@ -425,7 +425,7 @@ whitespace)." | |||
| 425 | :type '(choice (const :tag "strict" "^-- $") | 425 | :type '(choice (const :tag "strict" "^-- $") |
| 426 | (const :tag "loose" "^-- *$") | 426 | (const :tag "loose" "^-- *$") |
| 427 | regexp) | 427 | regexp) |
| 428 | :version "23.1" ;; No Gnus (changed default) | 428 | :version "22.3" ;; Gnus 5.10.12 (changed default) |
| 429 | :link '(custom-manual "(message)Various Message Variables") | 429 | :link '(custom-manual "(message)Various Message Variables") |
| 430 | :group 'message-various) | 430 | :group 'message-various) |
| 431 | 431 | ||
| @@ -1018,6 +1018,7 @@ Used by `message-yank-original' via `message-yank-cite'." | |||
| 1018 | :link '(custom-manual "(message)Insertion Variables") | 1018 | :link '(custom-manual "(message)Insertion Variables") |
| 1019 | :type 'integer) | 1019 | :type 'integer) |
| 1020 | 1020 | ||
| 1021 | ;;;###autoload | ||
| 1021 | (defcustom message-cite-function 'message-cite-original-without-signature | 1022 | (defcustom message-cite-function 'message-cite-original-without-signature |
| 1022 | "*Function for citing an original message. | 1023 | "*Function for citing an original message. |
| 1023 | Predefined functions include `message-cite-original' and | 1024 | Predefined functions include `message-cite-original' and |
| @@ -1028,7 +1029,7 @@ Note that these functions use `mail-citation-hook' if that is non-nil." | |||
| 1028 | (function-item sc-cite-original) | 1029 | (function-item sc-cite-original) |
| 1029 | (function :tag "Other")) | 1030 | (function :tag "Other")) |
| 1030 | :link '(custom-manual "(message)Insertion Variables") | 1031 | :link '(custom-manual "(message)Insertion Variables") |
| 1031 | :version "23.1" ;; No Gnus (changed default) | 1032 | :version "22.3" ;; Gnus 5.10.12 (changed default) |
| 1032 | :group 'message-insertion) | 1033 | :group 'message-insertion) |
| 1033 | 1034 | ||
| 1034 | (defcustom message-indent-citation-function 'message-indent-citation | 1035 | (defcustom message-indent-citation-function 'message-indent-citation |
diff --git a/lisp/gnus/mm-decode.el b/lisp/gnus/mm-decode.el index a0b55421428..56258b96b61 100644 --- a/lisp/gnus/mm-decode.el +++ b/lisp/gnus/mm-decode.el | |||
| @@ -799,7 +799,7 @@ external if displayed external." | |||
| 799 | (copiousoutput (assoc "copiousoutput" mime-info)) | 799 | (copiousoutput (assoc "copiousoutput" mime-info)) |
| 800 | file buffer) | 800 | file buffer) |
| 801 | ;; We create a private sub-directory where we store our files. | 801 | ;; We create a private sub-directory where we store our files. |
| 802 | (set-file-modes dir 448) | 802 | (set-file-modes dir #o700) |
| 803 | (if filename | 803 | (if filename |
| 804 | (setq file (expand-file-name | 804 | (setq file (expand-file-name |
| 805 | (gnus-map-function mm-file-name-rewrite-functions | 805 | (gnus-map-function mm-file-name-rewrite-functions |
| @@ -819,6 +819,10 @@ external if displayed external." | |||
| 819 | nil suffix)))) | 819 | nil suffix)))) |
| 820 | (let ((coding-system-for-write mm-binary-coding-system)) | 820 | (let ((coding-system-for-write mm-binary-coding-system)) |
| 821 | (write-region (point-min) (point-max) file nil 'nomesg)) | 821 | (write-region (point-min) (point-max) file nil 'nomesg)) |
| 822 | ;; The file is deleted after the viewer exists. If the users edits | ||
| 823 | ;; the file, changes will be lost. Set file to read-only to make it | ||
| 824 | ;; clear. | ||
| 825 | (set-file-modes file #o400) | ||
| 822 | (message "Viewing with %s" method) | 826 | (message "Viewing with %s" method) |
| 823 | (cond | 827 | (cond |
| 824 | (needsterm | 828 | (needsterm |
diff --git a/lisp/net/tls.el b/lisp/net/tls.el index 64a0460e08c..4cdc00c448b 100644 --- a/lisp/net/tls.el +++ b/lisp/net/tls.el | |||
| @@ -80,7 +80,7 @@ and `gnutls-cli' (version 2.0.1) output." | |||
| 80 | 80 | ||
| 81 | (defcustom tls-program '("gnutls-cli -p %p %h" | 81 | (defcustom tls-program '("gnutls-cli -p %p %h" |
| 82 | "gnutls-cli -p %p %h --protocols ssl3" | 82 | "gnutls-cli -p %p %h --protocols ssl3" |
| 83 | "openssl s_client -connect %h:%p -no_ssl2") | 83 | "openssl s_client -connect %h:%p -no_ssl2 -ign_eof") |
| 84 | "List of strings containing commands to start TLS stream to a host. | 84 | "List of strings containing commands to start TLS stream to a host. |
| 85 | Each entry in the list is tried until a connection is successful. | 85 | Each entry in the list is tried until a connection is successful. |
| 86 | %h is replaced with server hostname, %p with port to connect to. | 86 | %h is replaced with server hostname, %p with port to connect to. |
| @@ -97,23 +97,23 @@ successful negotiation." | |||
| 97 | :value | 97 | :value |
| 98 | ("gnutls-cli -p %p %h" | 98 | ("gnutls-cli -p %p %h" |
| 99 | "gnutls-cli -p %p %h --protocols ssl3" | 99 | "gnutls-cli -p %p %h --protocols ssl3" |
| 100 | "openssl s_client -connect %h:%p -no_ssl2") | 100 | "openssl s_client -connect %h:%p -no_ssl2 -ign_eof") |
| 101 | (set :inline t | 101 | (set :inline t |
| 102 | ;; FIXME: add brief `:tag "..."' descriptions. | 102 | ;; FIXME: add brief `:tag "..."' descriptions. |
| 103 | ;; (repeat :inline t :tag "Other" (string)) | 103 | ;; (repeat :inline t :tag "Other" (string)) |
| 104 | ;; See `tls-checktrust': | 104 | ;; See `tls-checktrust': |
| 105 | (const "gnutls-cli --x509cafile /etc/ssl/certs/ca-certificates.crt -p %p %h") | 105 | (const "gnutls-cli --x509cafile /etc/ssl/certs/ca-certificates.crt -p %p %h") |
| 106 | (const "gnutls-cli --x509cafile /etc/ssl/certs/ca-certificates.crt -p %p %h --protocols ssl3") | 106 | (const "gnutls-cli --x509cafile /etc/ssl/certs/ca-certificates.crt -p %p %h --protocols ssl3") |
| 107 | (const "openssl s_client -connect %h:%p -CAfile /etc/ssl/certs/ca-certificates.crt -no_ssl2") | 107 | (const "openssl s_client -connect %h:%p -CAfile /etc/ssl/certs/ca-certificates.crt -no_ssl2 -ign_eof") |
| 108 | ;; No trust check: | 108 | ;; No trust check: |
| 109 | (const "gnutls-cli -p %p %h") | 109 | (const "gnutls-cli -p %p %h") |
| 110 | (const "gnutls-cli -p %p %h --protocols ssl3") | 110 | (const "gnutls-cli -p %p %h --protocols ssl3") |
| 111 | (const "openssl s_client -connect %h:%p -no_ssl2")) | 111 | (const "openssl s_client -connect %h:%p -no_ssl2 -ign_eof")) |
| 112 | (repeat :inline t :tag "Other" (string))) | 112 | (repeat :inline t :tag "Other" (string))) |
| 113 | (const :tag "Default list of commands" | 113 | (const :tag "Default list of commands" |
| 114 | ("gnutls-cli -p %p %h" | 114 | ("gnutls-cli -p %p %h" |
| 115 | "gnutls-cli -p %p %h --protocols ssl3" | 115 | "gnutls-cli -p %p %h --protocols ssl3" |
| 116 | "openssl s_client -connect %h:%p -no_ssl2")) | 116 | "openssl s_client -connect %h:%p -no_ssl2 -ign_eof")) |
| 117 | (list :tag "List of commands" | 117 | (list :tag "List of commands" |
| 118 | (repeat :tag "Command" (string)))) | 118 | (repeat :tag "Command" (string)))) |
| 119 | :version "22.1" | 119 | :version "22.1" |
| @@ -144,7 +144,7 @@ consider trustworthy, e.g.: | |||
| 144 | \(setq tls-program | 144 | \(setq tls-program |
| 145 | '(\"gnutls-cli --x509cafile /etc/ssl/certs/ca-certificates.crt -p %p %h\" | 145 | '(\"gnutls-cli --x509cafile /etc/ssl/certs/ca-certificates.crt -p %p %h\" |
| 146 | \"gnutls-cli --x509cafile /etc/ssl/certs/ca-certificates.crt -p %p %h --protocols ssl3\" | 146 | \"gnutls-cli --x509cafile /etc/ssl/certs/ca-certificates.crt -p %p %h --protocols ssl3\" |
| 147 | \"openssl s_client -connect %h:%p -CAfile /etc/ssl/certs/ca-certificates.crt -no_ssl2\"))" | 147 | \"openssl s_client -connect %h:%p -CAfile /etc/ssl/certs/ca-certificates.crt -no_ssl2 -ign_eof\"))" |
| 148 | :type '(choice (const :tag "Always" t) | 148 | :type '(choice (const :tag "Always" t) |
| 149 | (const :tag "Never" nil) | 149 | (const :tag "Never" nil) |
| 150 | (const :tag "Ask" ask)) | 150 | (const :tag "Ask" ask)) |