aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2012-05-15 23:16:13 +0800
committerChong Yidong2012-05-15 23:16:13 +0800
commitfcf2993fbb6d1b280fc1a4940c07627bb51b3613 (patch)
treefd54d0ad9991a2fd800e247b80689483c5824079
parent0b128ac42684060c8183c645667dc4c6730e9ba3 (diff)
downloademacs-fcf2993fbb6d1b280fc1a4940c07627bb51b3613.tar.gz
emacs-fcf2993fbb6d1b280fc1a4940c07627bb51b3613.zip
* net/gnutls.el (gnutls-min-prime-bits): Default to 256.
Fixes: debbugs:11267
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/net/gnutls.el12
2 files changed, 9 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 93127c43783..d6c5b0e9886 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12012-05-15 Chong Yidong <cyd@gnu.org>
2
3 * net/gnutls.el (gnutls-min-prime-bits): Default to 256 (Bug#11267).
4
12012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change) 52012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
2 6
3 * progmodes/compile.el (compilation-internal-error-properties): 7 * progmodes/compile.el (compilation-internal-error-properties):
diff --git a/lisp/net/gnutls.el b/lisp/net/gnutls.el
index 1bc319c796e..92400730f56 100644
--- a/lisp/net/gnutls.el
+++ b/lisp/net/gnutls.el
@@ -66,14 +66,12 @@ The files may not exist, in which case they will be ignored."
66 (repeat (file :tag "Bundle filename")))) 66 (repeat (file :tag "Bundle filename"))))
67 67
68;;;###autoload 68;;;###autoload
69(defcustom gnutls-min-prime-bits nil 69(defcustom gnutls-min-prime-bits 256
70 "The minimum number of bits to be used in Diffie-Hellman key exchange. 70 "Minimum number of bits to be used in Diffie-Hellman key exchange.
71During a client-server handshake, if the server sends a prime
72with fewer than this number of bits, the handshake will fail.
71 73
72This sets the minimum accepted size of the key to be used in a 74A value of nil says to use the default GnuTLS value."
73client-server handshake. If the server sends a prime with fewer than
74the specified number of bits the handshake will fail.
75
76A value of nil says to use the default gnutls value."
77 :type '(choice (const :tag "Use default value" nil) 75 :type '(choice (const :tag "Use default value" nil)
78 (integer :tag "Number of bits" 512)) 76 (integer :tag "Number of bits" 512))
79 :group 'gnutls) 77 :group 'gnutls)