]> git.eshelyaron.com Git - emacs.git/commit
Return the entire TLS certificate chain back to the caller
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 24 Jun 2018 19:17:37 +0000 (21:17 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 24 Jun 2018 19:17:46 +0000 (21:17 +0200)
commitc8745d95cffc348da7ae1e7f6a6c07ec2f4b2f3f
tree8b51f860eca6020f9db662db9d7109a5e11d26db
parentcd5bb4bf3dbad8941d25823f398b595b8f0edbb9
Return the entire TLS certificate chain back to the caller

* src/gnutls.c (gnutls_deinit_certificates): New function.
(Fgnutls_peer_status): Return all certificates in the chain back
to Lisp land.
(gnutls_verify_boot): Compute all the x509 certificates in the
chain.

* src/process.h (struct Lisp_Process): Adjust gnutls fields so
that we can keep tracks of all certificates in the chain instead
of just the host certificate.
src/gnutls.c
src/process.h