I've downloaded the latest windows libs. They crash with this stdio
linking thing. I've tried using the applink stuff to fix it and it
fixes some, but not all of the places things crash. It looks like it's
BIOs which are newed and then have "set_fd" called on them.

Earlier you mentioned that your application works fine on Linux. Does this code works there? I'm not acquainted with OpenSSL code I think you refer to, but if BIO_new_fd from bss_fd.c is the one you refer to, then it should crash on all platforms... Indeed, BIO_new_fd receives integer fd, then passes it down to fd_ctrl, BIO_C_SET_FD, which essentially does *((int *)fd). In other words you again apparently is hit by another bug...

Oh! I'm sorry, but I was wrong! It should *not* crash on all platforms. And before fd gets to it passes &, so that *(int *) in OpenSSL code is totally OK and is not a bug. You have to provide more details about your application code then or figure it out yourself. A.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to