aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2020-12-15 16:28:33 +0000
committerMichael Brown <mcb30@ipxe.org>2020-12-15 16:28:33 +0000
commit6a8664d9ec8010a717855ca92173c63c3c166c4e (patch)
tree6ddd0f709bdbd174fdf561207075099c0d04741b /src/include
parent3475f9162b84ce21327244ebce20ae29db6d7ac8 (diff)
downloadipxe-6a8664d9ec8010a717855ca92173c63c3c166c4e.zip
ipxe-6a8664d9ec8010a717855ca92173c63c3c166c4e.tar.gz
ipxe-6a8664d9ec8010a717855ca92173c63c3c166c4e.tar.bz2
[tls] Include root of trust within definition of TLS session
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ipxe/tls.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/ipxe/tls.h b/src/include/ipxe/tls.h
index 1e1093f..8345c9a 100644
--- a/src/include/ipxe/tls.h
+++ b/src/include/ipxe/tls.h
@@ -255,6 +255,9 @@ struct tls_session {
/** Server name */
const char *name;
+ /** Root of trust */
+ struct x509_root *root;
+
/** Session ID */
uint8_t id[32];
/** Length of session ID */
@@ -326,7 +329,7 @@ struct tls_connection {
/** Verification data */
struct tls_verify_data verify;
- /** Root of trust (or NULL to use default) */
+ /** Root of trust */
struct x509_root *root;
/** Server certificate chain */
struct x509_chain *chain;