Hello All,

I have a program on Windows that, among tohers things, access databases through ODBC and computes sha1 values from files. OpenSSL functions are accessed through a DLL and do initialisation when it needs to. My program uses release OpenSSL 0.9.8 DLLs
The used database is a PostgreSQL 9.03.04 (I think it uses OpenSSL 1.x DLLs)

In my SSL Init(), I check the result of CRYPTO_malloc_init() function and throw an exception if the result is 0. I suspect that the previous access to PostgreSQL loads its OpenSSL DLLs and probably do a CRYPTO_malloc_init(). When I want to do my own, it returns 0 because allow_customize has been set to false.

Is there a way to know if CRYPTO_malloc_init() has already been called by a tier ?

My second question is, in this case, is there problems to have loaded DLLs that do not match the headers I used for compilation ? Do I need to do static linkage of OpenSSL 0.9.8 in my DLL to avoid incompatibilities ?

Thank you for your advices.
King regards,
Patrice.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to