emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The netsec thread


From: Lars Ingebrigtsen
Subject: Re: The netsec thread
Date: Wed, 04 Sep 2019 15:10:05 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Paul Eggert <address@hidden> writes:

> * src/gnutls.c (Fgnutls_peer_status): Don’t put the
> safe-renegotiation indication into the status in TLS 1.3, which
> removed support for renegotiation.

[...]

> +#ifdef GNUTLS_TLS1_3
> +  bool older_proto = proto < GNUTLS_TLS1_3;
> +#else
> +  bool older_proto = true;
> +#endif
> +  if (older_proto)
> +    result = nconc2
> +      (result, list2 (intern (":safe-renegotiation"),
> +                   gnutls_safe_renegotiation_status (state) ? Qt : Qnil));

Looks good to me.

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]