From: Ted Zlatanov <tzz@lifelogs.com>
To: emacs-devel@gnu.org
Subject: Re: master 8608c10 01/02: Use a simple list of symbols in GnuTLS peer verification.
Date: Tue, 25 Nov 2014 10:25:39 -0500 [thread overview]
Message-ID: <87egsre1zg.fsf@lifelogs.com> (raw)
In-Reply-To: m3tx1nqpjw.fsf@stories.gnus.org
On Tue, 25 Nov 2014 16:15:47 +0100 Lars Magne Ingebrigtsen <larsi@gnus.org> wrote:
LMI> Teodor Zlatanov <tzz@lifelogs.com> writes:
>> +DEFUN ("gnutls-peer-status-warning-describe", Fgnutls_peer_status_warning_describe, Sgnutls_peer_status_warning_describe, 1, 1, 0,
>> + doc: /* Describe the warning of a GnuTLS peer status from `gnutls-peer-status'.*/)
>> + (Lisp_Object status_symbol)
>> +{
>> + CHECK_SYMBOL (status_symbol);
>> +
>> + if ( EQ (status_symbol, intern (":invalid")))
>> + return build_string ("certificate could not be verified");
LMI> This is now just a symbol-to-string mapping, so perhaps it should just
LMI> be moved to nsm.el instead?
`gnutls-boot' uses it, so it wouldn't work. I think.
I looked in GnuTLS but I don't see a convenient way to avoid storing
that data on our side. All the strerror stuff is for error codes but not
verification codes.
Ted
prev parent reply other threads:[~2014-11-25 15:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20141125140840.27975.96096@vcs.savannah.gnu.org>
[not found] ` <E1XtGnJ-0007IA-Mn@vcs.savannah.gnu.org>
2014-11-25 15:15 ` master 8608c10 01/02: Use a simple list of symbols in GnuTLS peer verification Lars Magne Ingebrigtsen
2014-11-25 15:25 ` Ted Zlatanov [this message]
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=87egsre1zg.fsf@lifelogs.com \
--to=tzz@lifelogs.com \
--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.