aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-07-19 18:40:53 +0100
committerGravatar Sadie Powell2021-07-19 18:40:53 +0100
commitc5c3004561e69faebf757e1f6dd82b5b353e0df5 (patch)
tree975437f95a88ed3071c2056e8ba194217fe58c54 /src/modules
parentAlways default the genssl question in configure to no. (diff)
Fix using the wrong variable for the ciphersuites in ssl_openssl.
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/extra/m_ssl_openssl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp
index 5f0ec68a3..4b76ada89 100644
--- a/src/modules/extra/m_ssl_openssl.cpp
+++ b/src/modules/extra/m_ssl_openssl.cpp
@@ -429,7 +429,7 @@ namespace OpenSSL
}
const std::string ciphersuites = tag->getString("ciphersuites");
- if (!ciphers.empty())
+ if (!ciphersuites.empty())
{
#if OPENSSL_VERSION_NUMBER >= 0x10101000L
if ((!ctx.SetCiphersuites(ciphersuites)) || (!clientctx.SetCiphersuites(ciphersuites)))