aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorNoam Postavsky2018-07-09 20:03:30 -0400
committerNoam Postavsky2018-07-09 20:03:30 -0400
commit7bcb697e198cb314980b93862a79e892009088c4 (patch)
tree17f30ba3b4aa4f1e4e31dde58139a5ec0ae82080 /lisp
parent3307353e13a9226d477c9b1a39baae76584b90b9 (diff)
parent65889a6d127fcbbbdc1e74d26036e91bd24d1405 (diff)
downloademacs-7bcb697e198cb314980b93862a79e892009088c4.tar.gz
emacs-7bcb697e198cb314980b93862a79e892009088c4.zip
Merge from emacs-26
65889a6d12 Fix bootstrap infloop in GNU/Linux alpha 48efd1c98b Minor fix of a recent documentation change 3302b7cd7f Mention the NSM in the gnutls variable doc strings 40c2ce743b Remove test code from last commit e02d8e29c6 Fix Bug#32084 da5d6dbe39 Fix (length NON-SEQUENCE) documentation
Diffstat (limited to 'lisp')
-rw-r--r--lisp/net/gnutls.el27
1 files changed, 24 insertions, 3 deletions
diff --git a/lisp/net/gnutls.el b/lisp/net/gnutls.el
index 09df019e2ec..315932b7e69 100644
--- a/lisp/net/gnutls.el
+++ b/lisp/net/gnutls.el
@@ -47,7 +47,15 @@
47(defcustom gnutls-algorithm-priority nil 47(defcustom gnutls-algorithm-priority nil
48 "If non-nil, this should be a TLS priority string. 48 "If non-nil, this should be a TLS priority string.
49For instance, if you want to skip the \"dhe-rsa\" algorithm, 49For instance, if you want to skip the \"dhe-rsa\" algorithm,
50set this variable to \"normal:-dhe-rsa\"." 50set this variable to \"normal:-dhe-rsa\".
51
52This variable can be useful for modifying low-level TLS
53connection parameters (for instance if you need to connect to a
54host that only accepts a specific algorithm). However, in
55general, Emacs network security is handled by the Network
56Security Manager (NSM), and the default value of nil delegates
57the job of checking the connection security to the NSM.
58See Info node `(emacs) Network Security'."
51 :group 'gnutls 59 :group 'gnutls
52 :type '(choice (const nil) 60 :type '(choice (const nil)
53 string)) 61 string))
@@ -73,7 +81,13 @@ flags and the corresponding conditions to be tested are:
73If the condition test fails, an error will be signaled. 81If the condition test fails, an error will be signaled.
74 82
75If the value of this variable is t, every connection will be subjected 83If the value of this variable is t, every connection will be subjected
76to all of the tests described above." 84to all of the tests described above.
85
86The default value of this variable is nil, which means that no
87checks are performed at the gnutls level. Instead the checks are
88performed via `open-network-stream' at a higher level by the
89Network Security Manager. See Info node `(emacs) Network
90Security'."
77 :group 'gnutls 91 :group 'gnutls
78 :version "24.4" 92 :version "24.4"
79 :type '(choice 93 :type '(choice
@@ -112,7 +126,14 @@ number with fewer than this number of bits, the handshake is
112rejected. \(The smaller the prime number, the less secure the 126rejected. \(The smaller the prime number, the less secure the
113key exchange is against man-in-the-middle attacks.) 127key exchange is against man-in-the-middle attacks.)
114 128
115A value of nil says to use the default GnuTLS value." 129A value of nil says to use the default GnuTLS value.
130
131The default value of this variable is such that virtually any
132connection can be established, whether this connection can be
133considered cryptographically \"safe\" or not. However, Emacs
134network security is handled at a higher level via
135`open-network-stream' and the Network Security Manager. See Info
136node `(emacs) Network Security'."
116 :type '(choice (const :tag "Use default value" nil) 137 :type '(choice (const :tag "Use default value" nil)
117 (integer :tag "Number of bits" 512)) 138 (integer :tag "Number of bits" 512))
118 :group 'gnutls) 139 :group 'gnutls)