all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: master 8608c10 01/02: Use a simple list of symbols in GnuTLS peer verification.
       [not found] ` <E1XtGnJ-0007IA-Mn@vcs.savannah.gnu.org>
@ 2014-11-25 15:15   ` Lars Magne Ingebrigtsen
  2014-11-25 15:25     ` Ted Zlatanov
  0 siblings, 1 reply; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2014-11-25 15:15 UTC (permalink / raw)
  To: emacs-devel; +Cc: Ted Zlatanov

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");

This is now just a symbol-to-string mapping, so perhaps it should just
be moved to nsm.el instead?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: master 8608c10 01/02: Use a simple list of symbols in GnuTLS peer verification.
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Ted Zlatanov @ 2014-11-25 15:25 UTC (permalink / raw)
  To: emacs-devel

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-25 15:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [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

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.