[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] [PATCH] Add sample/https-client.c, an example of stacking evhttp as a client on top of bufferevent_ssl.

On Tue, Feb 19, 2013 at 9:40 PM, Jardel Weyrich <jweyrich@xxxxxxxxx> 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?

"/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
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.