diff options
| author | Glenn Morris | 2017-06-11 16:20:40 -0700 |
|---|---|---|
| committer | Glenn Morris | 2017-06-11 16:20:40 -0700 |
| commit | f5ea4efbe7fd90d0d244375ffe7cc3250d322dbf (patch) | |
| tree | b186339f598134f5983e41b920ae5b4dffe7c2dd /lisp | |
| parent | 87958db425812ec7cacf9ad3f8db22a91e3db4e4 (diff) | |
| parent | eaa00584ceb30fd1170bf06f2514f3b6e4192329 (diff) | |
| download | emacs-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.el | 22 |
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. |
| 56 | If nil, the default, failures in certificate verification will be | ||
| 57 | logged (subject to `gnutls-log-level'), but the connection will be | ||
| 58 | allowed to proceed. | ||
| 59 | If the value is a list, it should have the form | ||
| 60 | |||
| 61 | ((HOST-REGEX FLAGS...) (HOST-REGEX FLAGS...) ...) | ||
| 62 | |||
| 63 | where each HOST-REGEX is a regular expression to be matched | ||
| 64 | against the hostname, and FLAGS is either t or a list of | ||
| 65 | one or more verification flags. The supported flags and the | ||
| 66 | corresponding 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 | |||
| 72 | If the condition test fails, an error will be signaled. | ||
| 73 | |||
| 74 | If the value of this variable is t, every connection will be subjected | ||
| 75 | to 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 |