diff options
author | lloyd <[email protected]> | 2012-09-04 21:12:29 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-09-04 21:12:29 +0000 |
commit | 1141af65915a10910fec5f00afc9a83cf89685c6 (patch) | |
tree | 799d95d3b3a538e2193b29d570d619a497add079 /src/tls/tls_channel.cpp | |
parent | fdcf9fb3dd5fc850cbbbdb94163af0d395ffabaf (diff) |
Remove Record_Writer::send_alert. Move Alert serialization to Alert::serialize
Diffstat (limited to 'src/tls/tls_channel.cpp')
-rw-r--r-- | src/tls/tls_channel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tls/tls_channel.cpp b/src/tls/tls_channel.cpp index 63a496358..453ef9062 100644 --- a/src/tls/tls_channel.cpp +++ b/src/tls/tls_channel.cpp @@ -221,7 +221,7 @@ void Channel::send_alert(const Alert& alert) { try { - m_writer.send_alert(alert); + m_writer.send(ALERT, alert.serialize()); } catch(...) { /* swallow it */ } } |