summaryrefslogtreecommitdiff
path: root/plugins/OpenSSL/src/ssl_openssl.cpp
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2015-07-26 10:53:09 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2015-07-26 10:53:09 +0000
commitb405eede7f078cf67e6b345c06bd074eceec9b75 (patch)
tree38d200ff5e06e00201fd9b38ac6f09ccded10950 /plugins/OpenSSL/src/ssl_openssl.cpp
parent9afe3b2e83e846d56c8b9c808681d0f06bbc1c40 (diff)
OpenSSL: common project
git-svn-id: http://svn.miranda-ng.org/main/trunk@14715 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/OpenSSL/src/ssl_openssl.cpp')
-rw-r--r--plugins/OpenSSL/src/ssl_openssl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/OpenSSL/src/ssl_openssl.cpp b/plugins/OpenSSL/src/ssl_openssl.cpp
index 6a50102bd6..02912fc396 100644
--- a/plugins/OpenSSL/src/ssl_openssl.cpp
+++ b/plugins/OpenSSL/src/ssl_openssl.cpp
@@ -22,7 +22,7 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#include "commonheaders.h"
+#include "stdafx.h"
#include <m_popup.h>
#define SECURITY_WIN32
@@ -248,7 +248,7 @@ const char* SSL_GetCipherName(SslHandle *ssl)
return g_OpenSSL.SSL_CIPHER_get_name(g_OpenSSL.SSL_get_current_cipher(ssl->session));
}
-static void ReportSslError(SECURITY_STATUS scRet, int line, bool showPopup = false)
+static void ReportSslError(SECURITY_STATUS scRet, int line, bool = false)
{
TCHAR szMsgBuf[256];
switch (scRet)
@@ -301,7 +301,7 @@ BOOL NetlibSslPending(SslHandle *ssl)
return ssl && ssl->session && (g_OpenSSL.SSL_pending(ssl->session) > 0);
}
-static bool ClientConnect(SslHandle *ssl, const char *host)
+static bool ClientConnect(SslHandle *ssl, const char*)
{
SSL_METHOD * meth;