is as simple as below

const *errString = ERR_error_string(ERR_get_error(), NULL));

On 8/30/12, Mithun Kumar <mithunsi...@gmail.com> wrote:
> Hello All,
>
> I am using the function ERR_print_errors_fp()   to get the last error in
> case of any failure. I want to divert the output to file. When ever there
> is a handshake failure application crashes.
>
> If handshake is successful i don't see any crash. Any idea where things are
> going wrong.
>
> -mithun
>
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to