summaryrefslogtreecommitdiff
path: root/src/modules/extra
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/extra')
-rw-r--r--src/modules/extra/m_ssl_gnutls.cpp4
-rw-r--r--src/modules/extra/m_ssl_openssl.cpp6
2 files changed, 3 insertions, 7 deletions
diff --git a/src/modules/extra/m_ssl_gnutls.cpp b/src/modules/extra/m_ssl_gnutls.cpp
index 0e70082e3..b9bc835d5 100644
--- a/src/modules/extra/m_ssl_gnutls.cpp
+++ b/src/modules/extra/m_ssl_gnutls.cpp
@@ -306,9 +306,7 @@ class ModuleSSLGnuTLS : public Module
CloseSession(session);
return 1;
}
-
- ServerInstance->Log(DEBUG, "m_ssl_gnutls.so: OnRawSocketRead(%d, buffer, %u, %d)", fd, count, readresult);
-
+
if (session->status == ISSL_HANDSHAKING_READ)
{
// The handshake isn't finished, try to finish it.
diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp
index 12d67fcfa..5711891d7 100644
--- a/src/modules/extra/m_ssl_openssl.cpp
+++ b/src/modules/extra/m_ssl_openssl.cpp
@@ -330,7 +330,7 @@ class ModuleSSLOpenSSL : public Module
user->Shrink("ssl_cert");
}
}
-
+
virtual int OnRawSocketRead(int fd, char* buffer, unsigned int count, int &readresult)
{
issl_session* session = &sessions[fd];
@@ -343,8 +343,6 @@ class ModuleSSLOpenSSL : public Module
return 1;
}
- ServerInstance->Log(DEBUG, "m_ssl_openssl.so: OnRawSocketRead(%d, buffer, %u, %d)", fd, count, readresult);
-
if(session->status == ISSL_HANDSHAKING)
{
if(session->rstat == ISSL_READ || session->wstat == ISSL_READ)
@@ -368,7 +366,7 @@ class ModuleSSLOpenSSL : public Module
return -1;
}
}
-
+
// If we resumed the handshake then session->status will be ISSL_OPEN
if(session->status == ISSL_OPEN)