diff options
author | lloyd <[email protected]> | 2012-04-25 14:30:52 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-04-25 14:30:52 +0000 |
commit | 28c64de10a4a6621e79879fe3047983bb8da9904 (patch) | |
tree | 46587772bebc38ee512111a0d23862f1f9837433 /src/tls/tls_handshake_state.cpp | |
parent | b72a44475d06263e1492f8913310b5f29515cba6 (diff) |
Huge pile of post merge fixups, mtn really fucked that merge
Diffstat (limited to 'src/tls/tls_handshake_state.cpp')
-rw-r--r-- | src/tls/tls_handshake_state.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/tls/tls_handshake_state.cpp b/src/tls/tls_handshake_state.cpp index 1a55305e3..f5a9f899c 100644 --- a/src/tls/tls_handshake_state.cpp +++ b/src/tls/tls_handshake_state.cpp @@ -68,7 +68,8 @@ u32bit bitmask_for_handshake_type(Handshake_Type type) return 0; default: - throw Internal_Error("Unknown handshake type " + to_string(type)); + throw Internal_Error("Unknown handshake type " + + std::to_string(type)); } return 0; @@ -123,8 +124,8 @@ void Handshake_State::confirm_transition_to(Handshake_Type handshake_msg) if(!ok) throw Unexpected_Message("Unexpected state transition in handshake, got " + - to_string(handshake_msg) + " mask is " + - to_string(hand_expecting_mask)); + std::to_string(handshake_msg) + " mask is " + + std::to_string(hand_expecting_mask)); /* We don't know what to expect next, so force a call to set_expected_next; if it doesn't happen, the next transition |