aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/tls_session_key.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/tls/tls_session_key.cpp')
-rw-r--r--src/lib/tls/tls_session_key.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/tls/tls_session_key.cpp b/src/lib/tls/tls_session_key.cpp
index 4c09b29fd..3ea80ecb0 100644
--- a/src/lib/tls/tls_session_key.cpp
+++ b/src/lib/tls/tls_session_key.cpp
@@ -22,7 +22,7 @@ Session_Keys::Session_Keys(const Handshake_State* state,
{
const size_t cipher_keylen = state->ciphersuite().cipher_keylen();
const size_t mac_keylen = state->ciphersuite().mac_keylen();
- const size_t cipher_nonce_bytes = state->ciphersuite().explicit_nonce_bytes();
+ const size_t cipher_nonce_bytes = state->ciphersuite().nonce_bytes_from_handshake();
const size_t prf_gen = 2 * (mac_keylen + cipher_keylen + cipher_nonce_bytes);