From 2feb4f5ad4a86014b744fce09fff3340d1b4fe20 Mon Sep 17 00:00:00 2001 From: peavey Date: Sat, 4 Aug 2007 02:57:53 +0000 Subject: Fix openssl. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7648 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_ssl_openssl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp index af73448c9..2f36d20ee 100644 --- a/src/modules/extra/m_ssl_openssl.cpp +++ b/src/modules/extra/m_ssl_openssl.cpp @@ -509,7 +509,7 @@ class ModuleSSLOpenSSL : public Module if (ret > 0) { - if (count <= session->inbufoffset) + if (count > session->inbufoffset) { memcpy(buffer, session->inbuf, count); // Move the stuff left in inbuf to the beginning of it -- cgit v1.2.3