projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
190a45f
)
Don't use XCAR in possibly-nil situations
author
Lars Ingebrigtsen
<larsi@gnus.org>
Mon, 25 Jun 2018 00:34:37 +0000
(
02:34
+0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Mon, 25 Jun 2018 00:34:37 +0000
(
02:34
+0200)
* src/gnutls.c (Fgnutls_peer_status): certs theoretically may be
nil, so don't use XCAR.
src/gnutls.c
patch
|
blob
|
history
diff --git
a/src/gnutls.c
b/src/gnutls.c
index 92956923db3d3c41a86249aed266ca364f0c6329..a8034d0abbfd688ab3b46215d89fdc4234a1b43e 100644
(file)
--- 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;