aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris2017-06-11 16:20:40 -0700
committerGlenn Morris2017-06-11 16:20:40 -0700
commitf5ea4efbe7fd90d0d244375ffe7cc3250d322dbf (patch)
treeb186339f598134f5983e41b920ae5b4dffe7c2dd /lisp
parent87958db425812ec7cacf9ad3f8db22a91e3db4e4 (diff)
parenteaa00584ceb30fd1170bf06f2514f3b6e4192329 (diff)
downloademacs-f5ea4efbe7fd90d0d244375ffe7cc3250d322dbf.tar.gz
emacs-f5ea4efbe7fd90d0d244375ffe7cc3250d322dbf.zip
Merge from origin/emacs-25
eaa00584ceb Improve documentation of 'gnutls-verify-error' 908498cc01b ; etc/PROBLEMS: Describe GTK-related crashes on elementar... 741daec617e ; Describe the problem with ksh when resizing shell window
Diffstat (limited to 'lisp')
-rw-r--r--lisp/net/gnutls.el22
1 files changed, 21 insertions, 1 deletions
diff --git a/lisp/net/gnutls.el b/lisp/net/gnutls.el
index d0dab738164..5db87329c36 100644
--- a/lisp/net/gnutls.el
+++ b/lisp/net/gnutls.el
@@ -52,7 +52,27 @@ set this variable to \"normal:-dhe-rsa\"."
52 string)) 52 string))
53 53
54(defcustom gnutls-verify-error nil 54(defcustom gnutls-verify-error nil
55 "If non-nil, this should be a list of checks per hostname regex or t." 55 "If non-nil, this should be t or a list of checks per hostname regex.
56If nil, the default, failures in certificate verification will be
57logged (subject to `gnutls-log-level'), but the connection will be
58allowed to proceed.
59If the value is a list, it should have the form
60
61 ((HOST-REGEX FLAGS...) (HOST-REGEX FLAGS...) ...)
62
63where each HOST-REGEX is a regular expression to be matched
64against the hostname, and FLAGS is either t or a list of
65one or more verification flags. The supported flags and the
66corresponding conditions to be tested are:
67
68 :trustfiles -- certificate must be issued by a trusted authority.
69 :hostname -- hostname must match presented certificate's host name.
70 t -- all of the above conditions are tested.
71
72If the condition test fails, an error will be signaled.
73
74If the value of this variable is t, every connection will be subjected
75to all of the tests described above."
56 :group 'gnutls 76 :group 'gnutls
57 :version "24.4" 77 :version "24.4"
58 :type '(choice 78 :type '(choice