Fixed compiler error on VS (newer versions of OpenSSL return a const pointer).

This commit is contained in:
Vincent Richard 2014-01-09 21:18:57 +01:00
parent 9cad1aa646
commit f212f1eda2

View File

@ -388,11 +388,7 @@ bool X509Certificate_OpenSSL::verifyHostName
if (strcmp(extStr, "subjectAltName") == 0)
{
#ifdef _WIN32
X509V3_EXT_METHOD* method;
#else
const X509V3_EXT_METHOD* method;
#endif
if ((method = X509V3_EXT_get(ext)) != NULL)
{