I too experienced this behavior when attempting to use
ERR_print_errors_fp(),
but I encountered it while attempting a TLSv1 connection to an SSLv3 server
that subsequently caused that same exception in my server.  I don't think
our
incidents are separate but rather perhaps a bug in the ERR_print_errors_fp
function???

----- Original Message -----
From: mail.s4u.local <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 19, 2000 10:58 AM
Subject: SSL_CTX_load_verify_locations - can't get error string


> I am loading list of trusted CAs to client program. If it is not
successful
> I want to print out errors simply like this:
>
>
> /* Visual C++ 6.0, OpenSSL 9.6.0 */
>
> if (! SSL_CTX_load_verify_locations(m_pSSL_Context, "cacert.pe_", NULL)) {
>     ERR_print_errors_fp(stderr);
> }
>
> When file can't be found, ERR_print_errors_fp(stderr) crashes:
> First-chance exception in test_com.exe (NTDLL.DLL): 0xC0000005: Access
> Violation.
>
> In other cases this way of printing errors works fine.
>
>
> --
> Kamil
>
> PS: what does the function SSL_CTX_set_default_verify_paths(SSL_CTX *)  as
I
> can see it in s_client.c??
>
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> Development Mailing List                       [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to