diff options
| author | 2007-08-04 02:57:53 +0000 | |
|---|---|---|
| committer | 2007-08-04 02:57:53 +0000 | |
| commit | 2feb4f5ad4a86014b744fce09fff3340d1b4fe20 (patch) | |
| tree | 2f6b56ce46716d5da4336529f081749021683d07 /src/modules | |
| parent | Second part of fix, in theory (diff) | |
Fix openssl.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7648 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/extra/m_ssl_openssl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
