diff options
author | Michael Brown <mcb30@ipxe.org> | 2018-03-22 18:10:46 +0200 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2018-03-24 21:37:17 +0000 |
commit | 4152aff10300408d9b1b932e5e269001cc38cebf (patch) | |
tree | 734bc3481777295e9e6fefb4047bdf28d228cd8c /src/include/ipxe/tls.h | |
parent | 6be010d9199df96deb3c120c19a5bd4591d9c596 (diff) | |
download | ipxe-4152aff10300408d9b1b932e5e269001cc38cebf.tar.gz |
[tls] Rename tls_session to tls_connection
In TLS terminology a session conceptually spans multiple individual
connections, and essentially represents the stored cryptographic state
(master secret and cipher suite) required to establish communication
without going through the certificate and key exchange handshakes.
Rename tls_session to tls_connection in order to make the name
tls_session available to represent the session state.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/tls.h')
-rw-r--r-- | src/include/ipxe/tls.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/ipxe/tls.h b/src/include/ipxe/tls.h index 7345fbee4..b1e702e18 100644 --- a/src/include/ipxe/tls.h +++ b/src/include/ipxe/tls.h @@ -242,8 +242,8 @@ struct md5_sha1_digest { /** MD5+SHA1 digest size */ #define MD5_SHA1_DIGEST_SIZE sizeof ( struct md5_sha1_digest ) -/** A TLS session */ -struct tls_session { +/** A TLS connection */ +struct tls_connection { /** Reference counter */ struct refcnt refcnt; |