From cf36693bd4eb25c7d0b90affa87c4739daacf355 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Mon, 25 Jun 2018 02:34:37 +0200 Subject: [PATCH] Don't use XCAR in possibly-nil situations * src/gnutls.c (Fgnutls_peer_status): certs theoretically may be nil, so don't use XCAR. --- src/gnutls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gnutls.c b/src/gnutls.c index 92956923db3..a8034d0abbf 100644 --- a/src/gnutls.c +++ b/src/gnutls.c @@ -1277,7 +1277,7 @@ The return value is a property list with top-level keys :warnings and /* Return the host certificate in its own element for compatibility reasons. */ - result = nconc2 (result, list2 (intern (":certificate"), XCAR (certs))); + result = nconc2 (result, list2 (intern (":certificate"), Fcar (certs))); } state = XPROCESS (proc)->gnutls_state; -- 2.11.4.GIT