aboutsummaryrefslogtreecommitdiffstats
path: root/src/pbkdf/pbkdf2
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-09-03 15:43:44 +0000
committerlloyd <[email protected]>2010-09-03 15:43:44 +0000
commitd8fcd41ea72d7e00924bb78baa698565de825844 (patch)
treefcbec308eb5fcbd6a822c608359313917902c04b /src/pbkdf/pbkdf2
parent7e54763ea43c8b34729387c7429922dd981c4f5b (diff)
Use std::to_string
Diffstat (limited to 'src/pbkdf/pbkdf2')
-rw-r--r--src/pbkdf/pbkdf2/pbkdf2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pbkdf/pbkdf2/pbkdf2.cpp b/src/pbkdf/pbkdf2/pbkdf2.cpp
index 6f6a514f8..5409c2c56 100644
--- a/src/pbkdf/pbkdf2/pbkdf2.cpp
+++ b/src/pbkdf/pbkdf2/pbkdf2.cpp
@@ -30,7 +30,7 @@ OctetString PKCS5_PBKDF2::derive_key(u32bit key_len,
catch(Invalid_Key_Length)
{
throw Exception(name() + " cannot accept passphrases of length " +
- to_string(passphrase.length()));
+ std::to_string(passphrase.length()));
}
SecureVector<byte> key(key_len);