First of all, thank you and congratulations for your continuous good
work for OpenSSL 0.9.8.
I have upgraded my software from using OpenSSL 0.9.6l to 0.9.8. As I
was not able to find a document on how to do this (excuse me if it
exists), I decided to write down the steps I needed to take. I hope
it would help somebody with a similar task, although I cannot
guarantee your success. If you can add some tips (e.g. pointing out
what I did wrong), that would be great. My development platform is
Windows XP SP2.
1. Add "const" to function and variable declarations
A lot of "constification" has happened between 0.9.6m and 0.9.8.
Compilation would fail because of this. I added "const" to function
and variable declarations. I also casted arguments to constant
values. For example,
Functions RSA_new_method() and DSA_new_method() used to take
RSA_METHOD* and DSA_METHOD*, respectably. However, now it takes only
ENGINE*. As a result, compilation on RSA_new_method(RSA_METHOD *meth)
would fail. I worked around it like this.
The callback argument fed to SSL_CTX_set_cert_verify_callback() now
takes an additional parameter. As I did not use this additional
parameter, I added a dummy parameter to the callback definition.
static int callback(X509_STORE_CTX * ctx)
static int callback(X509_STORE_CTX * ctx, void *dummy)
OpenSSL Project http://www.openssl.org User Support Mailing List [hidden email] Automated List Manager [hidden email]