• Lars Ingebrigtsen's avatar
    Return the entire TLS certificate chain back to the caller · c8745d95
    Lars Ingebrigtsen authored
    * 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.
    c8745d95
gnutls.c 85.3 KB