TLS version no longer static, thou still fixed to TLS 1.0
This commit is contained in:
@@ -130,10 +130,7 @@ namespace eap
|
||||
struct message_header
|
||||
{
|
||||
unsigned char type; ///< Message type (one of `message_type_t` constants)
|
||||
struct {
|
||||
unsigned char major; ///< Major version
|
||||
unsigned char minor; ///< Minor version
|
||||
} version; ///< SSL/TLS version
|
||||
tls_version version; ///< SSL/TLS version
|
||||
unsigned char length[2]; ///< Message length (in network byte order)
|
||||
};
|
||||
#pragma pack(pop)
|
||||
@@ -269,7 +266,7 @@ namespace eap
|
||||
///
|
||||
/// \returns Change cipher spec
|
||||
///
|
||||
static eap::sanitizing_blob make_change_chiper_spec();
|
||||
eap::sanitizing_blob make_change_chiper_spec() const;
|
||||
|
||||
///
|
||||
/// Makes a TLS finished message
|
||||
@@ -510,6 +507,8 @@ namespace eap
|
||||
|
||||
winstd::crypt_prov m_cp; ///< Cryptography provider
|
||||
|
||||
tls_version m_tls_version; ///< TLS version in use
|
||||
|
||||
tls_conn_state m_state; ///< TLS connection state for fast reconnect
|
||||
|
||||
sanitizing_blob m_padding_hmac_client; ///< Padding (key) for client side HMAC calculation
|
||||
|
Reference in New Issue
Block a user