summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2018-03-22 17:10:46 +0100
committerMichael Brown2018-03-24 22:37:17 +0100
commit4152aff10300408d9b1b932e5e269001cc38cebf (patch)
tree734bc3481777295e9e6fefb4047bdf28d228cd8c /src/include
parent[list] Add list_is_first_entry() and list_is_last_entry() (diff)
downloadipxe-4152aff10300408d9b1b932e5e269001cc38cebf.tar.gz
ipxe-4152aff10300408d9b1b932e5e269001cc38cebf.tar.xz
ipxe-4152aff10300408d9b1b932e5e269001cc38cebf.zip
[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')
-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 7345fbee..b1e702e1 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;