Hello, After switching to OpenSSL 0.9.7 I have a rather strange problem: no errors are reported to the error stack. While the same code works fine when I link 0.9.6, it fails when linking 0.9.7. Since a small test program in C works fine when doing the same thing (*) that my Kylix program does, I suspect there's an error in the way I access the library, yet 0.9.6 works fine. The return value of SSL_CTX_use_certificate_file() is 0, as it should be if an error occurs, but no error makes it onto the stack, for whatever reason. I'm not doing anything fancy before that, only dlopen() the library, get the relevant symbols and call them. Calling convention is cdecl, which should be ok.
Does anyone have any suggestions? (*) what I'm doing is simply try loading a certificate file into a context when the file doesn't exist. This should report the following errors: error:02001002:system library:fopen:No such file or directory error:20074002:BIO routines:FILE_CTRL:system lib error:140AD002:SSL routines:SSL_CTX_use_certificate_file:system lib johannes -- http://www.sipsolutions.de/ GnuPG key: http://www.sipsolutions.de/keys/JohannesBerg.asc Key-ID: 9AB78CA5 Johannes Berg <[EMAIL PROTECTED]> Fingerprint = AD02 0176 4E29 C137 1DF6 08D2 FC44 CF86 9AB7 8CA5 ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]