diff options
author | lloyd <[email protected]> | 2012-03-16 17:47:58 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-03-16 17:47:58 +0000 |
commit | b1238320b591bced237ab08bd32713c59d18525a (patch) | |
tree | 46cf73f2961e59054bda3f76bd57661e56a6a743 /src/tls/tls_messages.h | |
parent | 79119349636d195f8787384b72a7fc3f6935d784 (diff) |
Various merge fixups.
Use AES-256 so we don't encrypt session tickets with a weaker algo
than the ciphersuites.
Diffstat (limited to 'src/tls/tls_messages.h')
-rw-r--r-- | src/tls/tls_messages.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tls/tls_messages.h b/src/tls/tls_messages.h index 617b03813..baee610d9 100644 --- a/src/tls/tls_messages.h +++ b/src/tls/tls_messages.h @@ -467,13 +467,13 @@ class New_Session_Ticket : public Handshake_Message public: Handshake_Type type() const { return NEW_SESSION_TICKET; } - static TLS_Session decrypt(const MemoryRegion<byte>& ctext, - const SymmetricKey& key, - const MemoryRegion<byte>& key_name); + static Session decrypt(const MemoryRegion<byte>& ctext, + const SymmetricKey& key, + const MemoryRegion<byte>& key_name); const MemoryVector<byte>& contents() const { return m_contents; } - New_Session_Ticket(const TLS_Session& session_info, + New_Session_Ticket(const Session& session_info, const SymmetricKey& key, const MemoryRegion<byte>& key_name, RandomNumberGenerator& rng); |