mirror of
https://github.com/ipxe/ipxe
synced 2025-12-24 06:22:59 +03:00
[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>
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user