From 734f004e883d2b55764c91da3bda16cb54a07686 Mon Sep 17 00:00:00 2001 From: lloyd Date: Wed, 4 Jan 2012 19:19:14 +0000 Subject: Compile fix --- 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 d0f5ab1e2..cc8c4ef10 100644 --- a/src/tls/tls_channel.cpp +++ b/src/tls/tls_channel.cpp @@ -174,7 +174,7 @@ void TLS_Channel::read_handshake(byte rec_type, void TLS_Channel::queue_for_sending(const byte buf[], size_t buf_size) { if(!handshake_completed) - throw std::invalid_state("Application data cannot be queued before handshake"); + throw std::runtime_error("Application data cannot be queued before handshake"); writer.send(APPLICATION_DATA, buf, buf_size); } -- cgit v1.2.3