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

Venkateswara R Puvvada <[email protected]>
Newsgroups gmane.network.open-pegasus.general
Message-ID <OF2EF0C174.59472E3B-ON652578E6.003EDF99-652578E6.003F15CA@in.ibm.com>
Veeresh,

This problem was fixed in  2.11.0 release.
http://bugzilla.openpegasus.org/show_bug.cgi?id=8778

-Venkat



From:   "Yaligar, Veeresh S \(USD SRDL\)" <[email protected]>
To:     "[email protected]" <[email protected]>
Date:   06/08/2011 16:40
Subject:        VC++ Compiler error in SSLContext.cpp at line number 275



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.