Fixed compiler error on VS (newer versions of OpenSSL return a const pointer).
This commit is contained in:
parent
9cad1aa646
commit
f212f1eda2
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user