[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 8608c10 01/02: Use a simple list of symbols in GnuTLS peer ve
From: |
Lars Magne Ingebrigtsen |
Subject: |
Re: master 8608c10 01/02: Use a simple list of symbols in GnuTLS peer verification. |
Date: |
Tue, 25 Nov 2014 16:15:47 +0100 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) |
Teodor Zlatanov <address@hidden> 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
- Re: master 8608c10 01/02: Use a simple list of symbols in GnuTLS peer verification.,
Lars Magne Ingebrigtsen <=