aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
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