[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] feature/gnus-select 66d1ec0 6/7: Remove s_client usage fro
From: |
Andrew G Cohen |
Subject: |
[Emacs-diffs] feature/gnus-select 66d1ec0 6/7: Remove s_client usage from tls.el |
Date: |
Mon, 24 Apr 2017 21:17:12 -0400 (EDT) |
branch: feature/gnus-select
commit 66d1ec0818a656f608d890d40cda8e38562eeb4c
Author: Rob Browning <address@hidden>
Commit: Andrew G Cohen <address@hidden>
Remove s_client usage from tls.el
* lisp/net/tls.el (tls-program, tls-checktrust): Remove s_client.
Ref http://bugs.debian.org/766397
http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00803.html
; Backport this to Emacs 25.3, if there is one
---
lisp/net/tls.el | 17 ++++++-----------
1 file changed, 6 insertions(+), 11 deletions(-)
diff --git a/lisp/net/tls.el b/lisp/net/tls.el
index 2273d13..ab10a9c 100644
--- a/lisp/net/tls.el
+++ b/lisp/net/tls.el
@@ -78,8 +78,7 @@ and `gnutls-cli' (version 2.0.1) output."
(defcustom tls-program
'("gnutls-cli --x509cafile %t -p %p %h"
- "gnutls-cli --x509cafile %t -p %p %h --protocols ssl3"
- "openssl s_client -connect %h:%p -no_ssl2 -ign_eof")
+ "gnutls-cli --x509cafile %t -p %p %h --protocols ssl3")
"List of strings containing commands to start TLS stream to a host.
Each entry in the list is tried until a connection is successful.
%h is replaced with the server hostname, %p with the port to
@@ -94,24 +93,21 @@ successful negotiation."
'(choice
(const :tag "Default list of commands"
("gnutls-cli --x509cafile %t -p %p %h"
- "gnutls-cli --x509cafile %t -p %p %h --protocols ssl3"
- "openssl s_client -CAfile %t -connect %h:%p -no_ssl2 -ign_eof"))
+ "gnutls-cli --x509cafile %t -p %p %h --protocols ssl3"))
(list :tag "Choose commands"
:value
("gnutls-cli --x509cafile %t -p %p %h"
- "gnutls-cli --x509cafile %t -p %p %h --protocols ssl3"
- "openssl s_client -connect %h:%p -no_ssl2 -ign_eof")
+ "gnutls-cli --x509cafile %t -p %p %h --protocols ssl3")
(set :inline t
;; FIXME: add brief `:tag "..."' descriptions.
;; (repeat :inline t :tag "Other" (string))
;; No trust check:
(const "gnutls-cli --insecure -p %p %h")
- (const "gnutls-cli --insecure -p %p %h --protocols ssl3")
- (const "openssl s_client -connect %h:%p -no_ssl2 -ign_eof"))
+ (const "gnutls-cli --insecure -p %p %h --protocols ssl3"))
(repeat :inline t :tag "Other" (string)))
(list :tag "List of commands"
(repeat :tag "Command" (string))))
- :version "22.1"
+ :version "26.1" ; remove s_client
:group 'tls)
(defcustom tls-process-connection-type nil
@@ -138,8 +134,7 @@ consider trustworthy, e.g.:
\(setq tls-program
\\='(\"gnutls-cli --x509cafile /etc/ssl/certs/ca-certificates.crt -p %p
%h\"
- \"gnutls-cli --x509cafile /etc/ssl/certs/ca-certificates.crt -p %p %h
--protocols ssl3\"
- \"openssl s_client -connect %h:%p -CAfile
/etc/ssl/certs/ca-certificates.crt -no_ssl2 -ign_eof\"))"
+ \"gnutls-cli --x509cafile /etc/ssl/certs/ca-certificates.crt -p %p %h
--protocols ssl3\"))"
:type '(choice (const :tag "Always" t)
(const :tag "Never" nil)
(const :tag "Ask" ask))
- [Emacs-diffs] feature/gnus-select updated (6ff9a4f -> e7fd724), Andrew G Cohen, 2017/04/24
- [Emacs-diffs] feature/gnus-select 66d1ec0 6/7: Remove s_client usage from tls.el,
Andrew G Cohen <=
- [Emacs-diffs] feature/gnus-select bcf49f6 5/7: Further robustify cedet bootstrap to loaddefs not yet built, Andrew G Cohen, 2017/04/24
- [Emacs-diffs] feature/gnus-select e528a75 4/7: Fix XBM colour rendering in NS port (bug#22060), Andrew G Cohen, 2017/04/24
- [Emacs-diffs] feature/gnus-select 5d21c62 3/7: Add support for IRCv3 message tags., Andrew G Cohen, 2017/04/24
- [Emacs-diffs] feature/gnus-select e7fd724 7/7: Don't advertise s_client in tls.el docs, Andrew G Cohen, 2017/04/24
- [Emacs-diffs] feature/gnus-select ec5a249 1/7: Needlessly refactor tests for clarity, Andrew G Cohen, 2017/04/24
- [Emacs-diffs] feature/gnus-select 7bbc43e 2/7: Add image sizing tests for an image that's narrow, Andrew G Cohen, 2017/04/24