aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_session_key.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tls/tls_session_key.h')
-rw-r--r--src/tls/tls_session_key.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tls/tls_session_key.h b/src/tls/tls_session_key.h
index 92e8d7a18..c967eaf22 100644
--- a/src/tls/tls_session_key.h
+++ b/src/tls/tls_session_key.h
@@ -29,7 +29,7 @@ class BOTAN_DLL SessionKeys
InitializationVector client_iv() const { return c_iv; }
InitializationVector server_iv() const { return s_iv; }
- SecureVector<byte> master_secret() const { return master_sec; }
+ const SecureVector<byte>& master_secret() const { return master_sec; }
SessionKeys() {}