mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 03:59:03 -04:00
Fix openssl.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7648 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
81e793231d
commit
2feb4f5ad4
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user