Re: use of SSL_CTX_load_verify_locations() in s_client

2010-02-26 Thread Ludwig Nussel
Ludwig Nussel wrote: > if ((!SSL_CTX_load_verify_locations(ctx,CAfile,CApath)) || > (!SSL_CTX_set_default_verify_paths(ctx))) > { > /* BIO_printf(bio_err,"error setting default verify locations\n"); */ > ERR_print_errors(bio_err); > /* goto end; */ > } > > SSL_C

use of SSL_CTX_load_verify_locations() in s_client

2010-02-23 Thread Ludwig Nussel
Hi, Ralf Haferkamp noticed that several programs using openssl contain some weird piece of code that seems to originate to apps/s_client.c: if ((!SSL_CTX_load_verify_locations(ctx,CAfile,CApath)) || (!SSL_CTX_set_default_verify_paths(ctx))) { /* BIO_printf(bio_err,"error s