aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Zlatanov2013-12-23 07:50:47 -0500
committerTed Zlatanov2013-12-23 07:50:47 -0500
commita0f20f21e08af104e9e95498ea00b23059e3b056 (patch)
tree6521ada3f8e708bceb3798c6a5bc40abd44e799d
parent30143e3d9b8cf49283f42e71441ab0f2e6dd8c33 (diff)
downloademacs-a0f20f21e08af104e9e95498ea00b23059e3b056.tar.gz
emacs-a0f20f21e08af104e9e95498ea00b23059e3b056.zip
Document `gnutls-verify-error'.
* emacs-gnutls.texi (Help For Users): Document `gnutls-verify-error'.
-rw-r--r--doc/misc/ChangeLog4
-rw-r--r--doc/misc/emacs-gnutls.texi18
2 files changed, 22 insertions, 0 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index c7986b3ba93..03ff3d12dfe 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,7 @@
12013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2
3 * emacs-gnutls.texi (Help For Users): Document `gnutls-verify-error'.
4
12013-12-22 Glenn Morris <rgm@gnu.org> 52013-12-22 Glenn Morris <rgm@gnu.org>
2 6
3 * woman.texi (Navigation): Use itemx where appropriate. 7 * woman.texi (Navigation): Use itemx where appropriate.
diff --git a/doc/misc/emacs-gnutls.texi b/doc/misc/emacs-gnutls.texi
index b1c4c13c5ff..369c6c3c3a1 100644
--- a/doc/misc/emacs-gnutls.texi
+++ b/doc/misc/emacs-gnutls.texi
@@ -132,6 +132,24 @@ know if you do, so we can make the change to benefit the other users
132of that platform. 132of that platform.
133@end defvar 133@end defvar
134 134
135@defvar gnutls-verify-error
136The @code{gnutls-verify-error} variable allows you to verify SSL/TLS
137server certificates for all connections or by host name. It defaults
138to @code{nil} for now but will likely be changed to @code{t} later,
139meaning that all certificates will be verified.
140
141There are two checks available currently, that the certificate has
142been issued by a trusted authority as defined by
143@code{gnutls-trustfiles}, and that the hostname matches the
144certificate. @code{t} enables both checks, but you can enable them
145individually as well with @code{:trustfiles} and @code{:hostname}
146instead.
147
148Because of the low-level interactions with the GnuTLS library, there
149is no way currently to ask if a certificate can be accepted. You have
150to look in the @code{*Messages*} buffer.
151@end defvar
152
135@defvar gnutls-min-prime-bits 153@defvar gnutls-min-prime-bits
136The @code{gnutls-min-prime-bits} variable is a pretty exotic 154The @code{gnutls-min-prime-bits} variable is a pretty exotic
137customization for cases where you want to refuse handshakes with keys 155customization for cases where you want to refuse handshakes with keys