aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/tls.h
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2020-12-04 15:56:13 +0000
committerMichael Brown <mcb30@ipxe.org>2020-12-07 13:53:48 +0000
commit25b53afa5bbd7bc38c3ca060d9c70259db6d118a (patch)
tree574b836b4a9880bc91b91f842e5bf6cf55d17b06 /src/include/ipxe/tls.h
parent2b6b02ee7eaad2539e26eb9507833aa3c1c9c15e (diff)
downloadipxe-25b53afa5bbd7bc38c3ca060d9c70259db6d118a.tar.gz
[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 <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/tls.h')
-rw-r--r--src/include/ipxe/tls.h4
1 files changed, 2 insertions, 2 deletions
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 */