Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[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>
  • Loading branch information
mcb30 committed Mar 24, 2018
1 parent 6be010d commit 4152aff
Show file tree
Hide file tree
Showing 2 changed files with 125 additions and 121 deletions.
4 changes: 2 additions & 2 deletions src/include/ipxe/tls.h
Expand Up @@ -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;

Expand Down

0 comments on commit 4152aff

Please sign in to comment.