To Whom it may concern (hopefully the OpenSSL authors),

Thanks for a great lib.  I'm using v0.9.5a and get a compiler error
with gcc-2.8.1 regarding the definition of certain functions in
x509.h and ssl.h which use "id" as a variable.  "id" happens to be
an Objective-C keyword.  This is a result of a recent change since
older versions of the lib do not exhibit this problem.  I downloaded
the 909 snap and the problem is still there.

To fix the problem I changed the definitions of several functions

from:

  int X509_check_trust(X509 *x, int id, int flags);

to:

  int X509_check_trust(X509 *x, int idx, int flags);


The problem also occurs in ssl.h so I changed from:

 int SSL_COMP_add_compression_method(int id,char *cm);

to:

 int SSL_COMP_add_compression_method(int idx,char *cm);



Regards,

Felipe A. Rodriguez
[EMAIL PROTECTED]
Agoura Hills, CA
(NeXTmail preferred)
(MIMEmail welcome)                                               
####################################################################<
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to