From 56d733a9fa9477d281b62ac9237eb7ac8356340d Mon Sep 17 00:00:00 2001 From: danieldg Date: Mon, 15 Feb 2010 18:04:53 +0000 Subject: Add to allow SSL fingerprint-based automatic oper login git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12467 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_ssl_gnutls.cpp | 1 - src/modules/extra/m_ssl_openssl.cpp | 2 -- 2 files changed, 3 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 243c8e28e..5b2c7accb 100644 --- a/src/modules/extra/m_ssl_gnutls.cpp +++ b/src/modules/extra/m_ssl_gnutls.cpp @@ -575,7 +575,6 @@ class ModuleSSLGnuTLS : public Module if (sessions[user->eh.GetFd()].sess) { ssl_cert* cert = sessions[user->eh.GetFd()].cert; - SSLCertSubmission(user, this, ServerInstance->Modules->Find("m_sslinfo.so"), cert); std::string cipher = gnutls_kx_get_name(gnutls_kx_get(sessions[user->eh.GetFd()].sess)); cipher.append("-").append(gnutls_cipher_get_name(gnutls_cipher_get(sessions[user->eh.GetFd()].sess))).append("-"); cipher.append(gnutls_mac_get_name(gnutls_mac_get(sessions[user->eh.GetFd()].sess))); diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp index 7d46cf66a..e099facd3 100644 --- a/src/modules/extra/m_ssl_openssl.cpp +++ b/src/modules/extra/m_ssl_openssl.cpp @@ -242,8 +242,6 @@ class ModuleSSLOpenSSL : public Module { if (sessions[user->eh.GetFd()].sess) { - SSLCertSubmission(user, this, ServerInstance->Modules->Find("m_sslinfo.so"), sessions[user->eh.GetFd()].cert); - if (!sessions[user->eh.GetFd()].cert->fingerprint.empty()) user->WriteServ("NOTICE %s :*** You are connected using SSL fingerprint %s", user->nick.c_str(), sessions[user->eh.GetFd()].cert->fingerprint.c_str()); -- cgit v1.2.3