summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_ssl_openssl.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2015-01-27 16:55:28 +0100
committerAttila Molnar <attilamolnar@hush.com>2015-01-27 16:55:28 +0100
commitbe692fc3af2dde60c4e6a665fe21092875b3ae5c (patch)
treeeb05443e056051804e7bf7384b5794eba5ad0a51 /src/modules/extra/m_ssl_openssl.cpp
parent46aa62b2d3deaa0633cd93eb6946146329fd14f2 (diff)
m_ssl_gnutls, m_ssl_openssl Prepend TLS protocol version to ciphersuite string
Diffstat (limited to 'src/modules/extra/m_ssl_openssl.cpp')
-rw-r--r--src/modules/extra/m_ssl_openssl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp
index 2b4562544..c1a3bf41a 100644
--- a/src/modules/extra/m_ssl_openssl.cpp
+++ b/src/modules/extra/m_ssl_openssl.cpp
@@ -691,6 +691,7 @@ class OpenSSLIOHook : public SSLIOHook
void GetCiphersuite(std::string& out) const
{
+ out.append(SSL_get_version(sess)).push_back('-');
out.append(SSL_get_cipher(sess));
}
};