aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/tls_session_key.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/tls/tls_session_key.h')
-rw-r--r--src/lib/tls/tls_session_key.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/tls/tls_session_key.h b/src/lib/tls/tls_session_key.h
index 8399a9676..c2c082d4a 100644
--- a/src/lib/tls/tls_session_key.h
+++ b/src/lib/tls/tls_session_key.h
@@ -55,7 +55,7 @@ class Session_Keys
/**
* @return TLS master secret
*/
- const secure_vector<byte>& master_secret() const { return m_master_sec; }
+ const secure_vector<uint8_t>& master_secret() const { return m_master_sec; }
Session_Keys() {}
@@ -65,11 +65,11 @@ class Session_Keys
* @param resuming whether this TLS session is resumed
*/
Session_Keys(const Handshake_State* state,
- const secure_vector<byte>& pre_master_secret,
+ const secure_vector<uint8_t>& pre_master_secret,
bool resuming);
private:
- secure_vector<byte> m_master_sec;
+ secure_vector<uint8_t> m_master_sec;
SymmetricKey m_c_cipher, m_s_cipher, m_c_mac, m_s_mac;
InitializationVector m_c_iv, m_s_iv;
};