From b405eede7f078cf67e6b345c06bd074eceec9b75 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Sun, 26 Jul 2015 10:53:09 +0000 Subject: OpenSSL: common project git-svn-id: http://svn.miranda-ng.org/main/trunk@14715 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/OpenSSL/src/ssl_openssl.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/OpenSSL/src/ssl_openssl.cpp') 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 #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; -- cgit v1.2.3