Thanks All, I am currently on Linux and trying to write to a file after the handshake has failed. But i dont see anything written to a file. using stderr instead of file pointer be of some help?
-mithun On Fri, Sep 7, 2012 at 5:58 AM, Jeremy Farrell <[email protected]>wrote: > 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:[email protected]] > *Sent:* Thursday, September 06, 2012 9:29 PM > *To:* [email protected]; [email protected] > *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 > > **** >
