VC++ Compiler error in SSLContext.cpp at line number 275

"Yaligar, Veeresh S \(USD SRDL\)" <[email protected]>
Newsgroups gmane.network.open-pegasus.general
Message-ID <DAD483C7C19E084EA1E9FC67303969393E6AB39C52@GVW1157EXB.americas.hpqcorp.net>
Using VC 2008  and OpenSSL 1.0.0d.
 After enabling OPEN SSL build options. I got the compiler error in SSLContext.cpp at line number 275  as sk_value method was not able to convert  X509_CRL_get_REVOKED to _STACK.

       revokedCert = (X509_REVOKED *)sk_value(X509_CRL_get_REVOKED(crl), i);

Made  the following change for compile to succeed. But is there a compiler option to avoid this error?

       revokedCert = (X509_REVOKED *)sk_value(reinterpret_cast<_STACK *>(crl), i);  <--- changed line


Thanks
Veeresh
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.