Your message suggests to me that you are calling the API and expecting it to cause subsequent errors to be written to the FILE. It doesn't work like that; the messages won't be written to the file during the handshake. The API writes out any messages which are queued up in the internal message buffers. You need to call the API after the handshake failure to dump out the errors which have been buffered internally.
Regards, jjf From: Mithun Kumar [mailto:mithunsi...@gmail.com] Sent: Thursday, September 06, 2012 9:29 PM To: openssl-users@openssl.org; openssl-...@openssl.org Subject: crash when calling ERR_print_errors_fp() Hello All, When i give file pointer as input to API(ERR_print_errors_fp()) nothing is getting written to the FILE during a SSL handshake failure. Any inputs why things are failing. -mithun