summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/tls.h
diff options
context:
space:
mode:
authorMichael Brown2012-03-03 15:11:46 +0100
committerMichael Brown2012-03-03 17:19:12 +0100
commitd9ce3bfe4c574934234a07cab1b7c6af917645c5 (patch)
treeea4a26fe659ee841729f0bfb4c5a7f068ef4e5f4 /src/include/ipxe/tls.h
parent[arp] Maintain an ARP transmission queue (diff)
downloadipxe-d9ce3bfe4c574934234a07cab1b7c6af917645c5.tar.gz
ipxe-d9ce3bfe4c574934234a07cab1b7c6af917645c5.tar.xz
ipxe-d9ce3bfe4c574934234a07cab1b7c6af917645c5.zip
[tls] Support TLS version 1.1
Advertise support for TLS version 1.1, and be prepared to downgrade to TLS version 1.0. Tested against Apache with mod_gnutls, using the GnuTLSPriorities directive to force specific protocol versions. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/tls.h')
-rw-r--r--src/include/ipxe/tls.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/ipxe/tls.h b/src/include/ipxe/tls.h
index 94cd322c..c14e9210 100644
--- a/src/include/ipxe/tls.h
+++ b/src/include/ipxe/tls.h
@@ -138,6 +138,8 @@ struct tls_session {
/** Ciphertext stream */
struct interface cipherstream;
+ /** Protocol version */
+ uint16_t version;
/** Current TX cipher specification */
struct tls_cipherspec tx_cipherspec;
/** Next TX cipher specification */