From 1141af65915a10910fec5f00afc9a83cf89685c6 Mon Sep 17 00:00:00 2001 From: lloyd Date: Tue, 4 Sep 2012 21:12:29 +0000 Subject: Remove Record_Writer::send_alert. Move Alert serialization to Alert::serialize --- src/tls/tls_channel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tls/tls_channel.cpp') 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 */ } } -- cgit v1.2.3