CVSROOT: /cvs Module name: src Changes by: [email protected] 2026/09/18 15:54:54
Modified files:
lib/libtls : tls.c tls_conninfo.c
Log message:
Keep our own copy of the certificates sent by the peer.
SSL_get_peer_cert_chain() includes the peer certificate for a client but
not for a server. Build a STACK_OF(X509) owned by libtls that always
starts with the peer certificate, and convert it to PEM with a helper
that takes any STACK_OF(X509).
ok jsing@ tb@
