On Tue, Feb 19, 2013 at 9:40 PM, Jardel Weyrich <jweyr...@gmail.com> wrote:
> 2) Call SSL_CTX_load_verify_locations passing the path of the CA
> certificates installed by the aforementioned package - generally
> /etc/ssl/certs/ca-certificates.crt
Nick, does this seem like a reasonable solution?

SSL_CTX_load_verify_locations(ssl_ctx,
"/etc/ssl/certs/ca-certificates.crt", NULL);

Anything more than this feels, to me, outside the scope of a libevent sample.

In a related vein, is it possible to get OpenSSL to immediately dump
errors to stderr? The only API I can find (ERR_*) let you inspect
errors after the fact (ERR_get_error, ERR_print_error, etc.) but I
would prefer not to clutter the sample with those calls unless
necessary?
***********************************************************************
To unsubscribe, send an e-mail to majord...@freehaven.net with
unsubscribe libevent-users    in the body.

Reply via email to