Ok, thanks. Fr�d�ric Giudicelli http://www.newpki.org
----- Original Message ----- From: "Richard Levitte via RT" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, November 29, 2003 11:28 AM Subject: [openssl.org #758] bug: The word "list" is a standard c++ class name > > OK, I've changed all symbols 'list' that I could find to something else. > Please download tomorrow's snapshot and check that you get no problems. > If you do get problems, please file a new report. > > Thanks. Ticket resolved. > > [EMAIL PROTECTED] - Sun Nov 9 11:26:55 2003]: > > > Version: 0.9.7c > > > > Hi, > > The word "list" is also a standard c++ class name, and when using > openssl in > > a c++ environment this clearly becomes a problem. > > > > The following exemple will fail to compile: > > <CODE> > > #include <openssl/asn1.h> > > > > #include <list> > > using namespace std; > > > > list<unsigned char> myList; > > </CODE> > > > > It will fail because of the following lines in openssl\ssl.h > > > > 1360 : void SSL_set_client_CA_list(SSL *s, STACK_OF(X509_NAME) *list); > > 1361 : void SSL_CTX_set_client_CA_list(SSL_CTX *ctx, > STACK_OF(X509_NAME) > > *list); > > > > I guess there are many other places where the word "list" is used in > > includes, that's where "sed" becomes fabulous :) > > > > Thanks, > > Fr�d�ric Giudicelli > > http://www.newpki.org > > > > > -- > Richard Levitte > [EMAIL PROTECTED] > ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
