all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: emacs-devel@gnu.org
Subject: Re: emacs-25 eaa0058: Improve documentation of 'gnutls-verify-error'
Date: Wed, 10 May 2017 09:26:09 +0200	[thread overview]
Message-ID: <87lgq5goku.fsf@detlef> (raw)
In-Reply-To: <20170509190630.CFCC021038@vcs0.savannah.gnu.org> (Eli Zaretskii's message of "Tue, 9 May 2017 15:06:30 -0400 (EDT)")

eliz@gnu.org (Eli Zaretskii) writes:

>  (defcustom gnutls-verify-error nil
> -  "If non-nil, this should be a list of checks per hostname regex or t."
> +  "If non-nil, this should be t or a list of checks per hostname regex.
> +If nil, the default, failures in certificate verification will be
> +logged (subject to `gnutls-log-level'), but the connection will be
> +allowed to proceed.
> +If the value is a list, it should have the form
> +
> +   ((HOST-REGEX FLAGS...) (HOST-REGEX FLAGS...) ...)
> +
> +where each HOST-REGEX is a regular expression to be matched
> +against the hostname, and FLAGS is either t or a list of
> +one or more verification flags.  The supported flags and the
> +corresponding conditions to be tested are:
> +
> +  :trustfiles -- certificate must be issued by a trusted authority.
> +  :hostname   -- hostname must match presented certificate's host name.
> +  t           -- all of the above conditions are tested.
> +
> +If the condition test fails, an error will be signaled.
> +
> +If the value of this variable is t, every connection will be subjected
> +to all of the tests described above."
>    :group 'gnutls
>    :version "24.4"
>    :type '(choice

Wouldn't this be a candidate for connection-local variables?

Ted?

Best regards, Michael.



       reply	other threads:[~2017-05-10  7:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20170509190629.21265.64192@vcs0.savannah.gnu.org>
     [not found] ` <20170509190630.CFCC021038@vcs0.savannah.gnu.org>
2017-05-10  7:26   ` Michael Albinus [this message]
2017-05-15 19:54     ` emacs-25 eaa0058: Improve documentation of 'gnutls-verify-error' Ted Zlatanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lgq5goku.fsf@detlef \
    --to=michael.albinus@gmx.de \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.