From 25b53afa5bbd7bc38c3ca060d9c70259db6d118a Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Fri, 4 Dec 2020 15:56:13 +0000 Subject: [tls] Allow provision of a client certificate chain Use the existing certificate store to automatically append any available issuing certificates to the selected client certificate. Signed-off-by: Michael Brown --- src/include/ipxe/tls.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/include/ipxe') diff --git a/src/include/ipxe/tls.h b/src/include/ipxe/tls.h index 2eaaadf20..a2d4f475b 100644 --- a/src/include/ipxe/tls.h +++ b/src/include/ipxe/tls.h @@ -319,8 +319,8 @@ struct tls_connection { struct digest_algorithm *handshake_digest; /** Digest algorithm context used for handshake verification */ uint8_t *handshake_ctx; - /** Client certificate (if used) */ - struct x509_certificate *cert; + /** Client certificate chain (if used) */ + struct x509_chain *certs; /** Secure renegotiation flag */ int secure_renegotiation; /** Verification data */ -- cgit v1.2.3-55-g7522