diff options
author | lloyd <[email protected]> | 2010-04-28 23:32:10 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-04-28 23:32:10 +0000 |
commit | 842364f5251693a3b8e1115f365fde5c112a2442 (patch) | |
tree | 629b31c654979b56ceae865eae110c1901ae2dff | |
parent | e44ad25567f564a397742737192bc75b35703d59 (diff) |
s/to_string/std::to_string/
-rw-r--r-- | src/ssl/tls_suites.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/ssl/tls_suites.cpp b/src/ssl/tls_suites.cpp index ccc4ab502..5e52e7de2 100644 --- a/src/ssl/tls_suites.cpp +++ b/src/ssl/tls_suites.cpp @@ -230,7 +230,8 @@ std::pair<std::string, u32bit> cipher_code_to_name(TLS_Ciphersuite_Algos algo) return std::make_pair("SEED", 16); throw TLS_Exception(INTERNAL_ERROR, - "CipherSuite: Unknown cipher type " + to_string(algo)); + "CipherSuite: Unknown cipher type " + + std::to_string(algo)); } std::string mac_code_to_name(TLS_Ciphersuite_Algos algo) @@ -248,7 +249,8 @@ std::string mac_code_to_name(TLS_Ciphersuite_Algos algo) return "SHA-384"; throw TLS_Exception(INTERNAL_ERROR, - "CipherSuite: Unknown MAC type " + to_string(algo)); + "CipherSuite: Unknown MAC type " + + std::to_string(algo)); } } @@ -264,7 +266,8 @@ CipherSuite::CipherSuite(u16bit suite_code) TLS_Ciphersuite_Algos algos = lookup_ciphersuite(suite_code); if(algos == 0) - throw Invalid_Argument("Unknown ciphersuite: " + to_string(suite_code)); + throw Invalid_Argument("Unknown ciphersuite: " + + std::to_string(suite_code)); sig_algo = TLS_Ciphersuite_Algos(algos & TLS_ALGO_SIGNER_MASK); |