Re: No show errors with ERR_print_errors_fp()

2005-05-12 Thread Dr. Stephen Henson
On Thu, May 12, 2005, Angel Martinez Gonzalez wrote: > Hello: > > I tried your advice but I obtain the same result. I have tried the > following: > > ERR_load_crypto_strings(); > > printf ("error: %i\n",ERR_get_error()); > printf(ERR_error_string(ERR_get_error(), NULL)); > printf(ERR_lib_error_

Re: No show errors with ERR_print_errors_fp()

2005-05-11 Thread Angel Martinez Gonzalez
to_strings(); Why it not show the string representing the error code?. Thanks for you help. - Original Message - From: "Andreas Hoffmann" <[EMAIL PROTECTED]> To: Sent: Wednesday, May 11, 2005 8:13 PM Subject: Re: No show errors with ERR_print_errors_fp() > Hi > >

Re: No show errors with ERR_print_errors_fp()

2005-05-11 Thread Andreas Hoffmann
Hi I want to obtain the errors that I have, and I use the function ERR_print_errors_fp(). But , this give a empty file. And I have errors ... My code: ERR_load_crypto_strings(); fp = fopen(fileError, "w"); ERR_print_errors_fp(fp); fclose(fp); Have you tried to direct the errors to "stderr"? usin

No show errors with ERR_print_errors_fp()

2005-05-11 Thread Angel Martinez Gonzalez
Hello: I want to obtain the errors that I have, and I use the function ERR_print_errors_fp(). But , this give a empty file. And I have errors ... My code: ERR_load_crypto_strings(); fp = fopen(fileError, "w"); ERR_print_errors_fp(fp); fclose(fp); Can somebody help me? Thanks. ___