From d0810dfaba6f160336d18ff0073e0065b35b59e3 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 3 Sep 2006 22:00:48 +0000 Subject: Removal of debug git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5133 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_ssl_gnutls.cpp | 4 +--- src/modules/extra/m_ssl_openssl.cpp | 6 ++---- 2 files changed, 3 insertions(+), 7 deletions(-) (limited to 'src/modules/extra') 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) -- cgit v1.2.3