From 8dfea307301ff2cad2c2442588c589dc5d2c326f Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 7 Jan 2022 17:20:33 +0000 Subject: Fix ssl_openssl on OpenSSL 1.0. --- src/modules/extra/m_ssl_openssl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/extra') diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp index 57af1316d..5a317ad45 100644 --- a/src/modules/extra/m_ssl_openssl.cpp +++ b/src/modules/extra/m_ssl_openssl.cpp @@ -682,7 +682,7 @@ class OpenSSLIOHook : public SSLIOHook X509_free(cert); } - static void GetDNString(const X509_NAME* x509name, std::string& out) + static void GetDNString(X509_NAME* x509name, std::string& out) { char buf[512]; X509_NAME_oneline(x509name, buf, sizeof(buf)); -- cgit v1.3.1-10-gc9f91