[tls] Rename tls_session to tls_connection
authorMichael Brown <mcb30@ipxe.org>
Thu, 22 Mar 2018 16:10:46 +0000 (18:10 +0200)
committerMichael Brown <mcb30@ipxe.org>
Sat, 24 Mar 2018 21:37:17 +0000 (21:37 +0000)
commit4152aff10300408d9b1b932e5e269001cc38cebf
tree734bc3481777295e9e6fefb4047bdf28d228cd8c
parent6be010d9199df96deb3c120c19a5bd4591d9c596
[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>
src/include/ipxe/tls.h
src/net/tls.c