diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2018-07-08 13:30:08 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2018-07-08 13:30:08 +0200 |
commit | f9649f0e147815ddd78073c52cd0e2ad9f33c4e4 (patch) | |
tree | 707f29c14a45bb6b2f7558c4251da1e9370ef1b1 /src/gnutls.c | |
parent | 98463bed07ecc9057094928ffdc2321eaaf3ab52 (diff) | |
download | emacs-f9649f0e147815ddd78073c52cd0e2ad9f33c4e4.tar.gz |
NSM-related doc fixes
* src/gnutls.c (Fgnutls_peer_status): Mention :certificates in the
doc string.
* etc/NEWS: Mention how to switch off the additional TLS checks.
Diffstat (limited to 'src/gnutls.c')
-rw-r--r-- | src/gnutls.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/gnutls.c b/src/gnutls.c index d22d5d267c1..dfbbecfc870 100644 --- a/src/gnutls.c +++ b/src/gnutls.c @@ -1210,9 +1210,17 @@ DEFUN ("gnutls-peer-status-warning-describe", Fgnutls_peer_status_warning_descri DEFUN ("gnutls-peer-status", Fgnutls_peer_status, Sgnutls_peer_status, 1, 1, 0, doc: /* Describe a GnuTLS PROC peer certificate and any warnings about it. + The return value is a property list with top-level keys :warnings and -:certificate. The :warnings entry is a list of symbols you can describe with -`gnutls-peer-status-warning-describe'. */) +:certificates. + +The :warnings entry is a list of symbols you can get a description of +with `gnutls-peer-status-warning-describe', and :certificates is the +certificate chain for the connection, with the host certificate +first, and intermediary certificates (if any) follow. + +In addition, for backwards compatibility, the host certificate is also +returned as the :certificate entry. */) (Lisp_Object proc) { Lisp_Object warnings = Qnil, result = Qnil; |