aboutsummaryrefslogtreecommitdiffstats
path: root/src/kdf/prf_tls
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-02-20 18:33:49 +0000
committerlloyd <[email protected]>2012-02-20 18:33:49 +0000
commit7fb2de6b49d8bf42ede7b4dfda7c358bb67e5c9f (patch)
tree32319c62e13572276b52c467e4c53d4646de6cc9 /src/kdf/prf_tls
parent8c2dc1a6c3bf352a56622d569dc855ca8d6ab5e0 (diff)
Merge fixups. Add locking to default session manager. Use chrono lib
and unique_ptr.
Diffstat (limited to 'src/kdf/prf_tls')
-rw-r--r--src/kdf/prf_tls/prf_tls.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kdf/prf_tls/prf_tls.cpp b/src/kdf/prf_tls/prf_tls.cpp
index 3790650b0..1236e13c7 100644
--- a/src/kdf/prf_tls/prf_tls.cpp
+++ b/src/kdf/prf_tls/prf_tls.cpp
@@ -29,7 +29,8 @@ void P_hash(MemoryRegion<byte>& output,
}
catch(Invalid_Key_Length)
{
- throw Internal_Error("The premaster secret of " + to_string(secret_len) +
+ throw Internal_Error("The premaster secret of " +
+ std::to_string(secret_len) +
" bytes is too long for the PRF");
}