From: brain Date: Sun, 10 Dec 2006 01:52:34 +0000 (+0000) Subject: Fix for end of handshake detection, HANDSHAKEN is a silly name for a const :/ X-Git-Tag: v2.0.23~6475 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=0c676f5f33eda2cac961b2fe4bb12a4a6637c584;p=user%2Fhenk%2Fcode%2Finspircd.git Fix for end of handshake detection, HANDSHAKEN is a silly name for a const :/ git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5904 e03df62e-2008-0410-955e-edbf42e46eb7 --- diff --git a/src/modules/extra/m_ssl_gnutls.cpp b/src/modules/extra/m_ssl_gnutls.cpp index 6ad14561d..52a47b062 100644 --- a/src/modules/extra/m_ssl_gnutls.cpp +++ b/src/modules/extra/m_ssl_gnutls.cpp @@ -276,7 +276,7 @@ class ModuleSSLGnuTLS : public Module else if (strcmp("IS_HSDONE", request->GetId()) == 0) { issl_session* session = &sessions[ISR->Sock->GetFd()]; - return (session->status == ISSL_HANDSHAKING_READ || session->status == ISSL_HANDSHAKING_WRITE || session->status == ISSL_HANDSHAKEN) ? NULL : (char*)"OK"; + return (session->status == ISSL_HANDSHAKING_READ || session->status == ISSL_HANDSHAKING_WRITE) ? NULL : (char*)"OK"; } else if (strcmp("IS_ATTACH", request->GetId()) == 0) {