[Libwebsockets] LWS_CALLBACK_OPENSSL_LOAD_EXTRA_CLIENT_VERIFY_CERTS called even with no ssl_connection
andy at warmcat.com
Sat Jul 5 06:10:48 CEST 2014
On 06/12/2014 07:40 PM, Carlos Sánchez wrote:
> I've saw that my callback was called with the reason
> LWS_CALLBACK_OPENSSL_LOAD_EXTRA_CLIENT_VERIFY_CERTS when I execute
> libwebsocket_client_connect() with ssl_conneciton false. Why?.
If the library was built with SSL support, it will initialize it during
create_context whether it's in use for that connection or not.
For example, you may open two connections, one using SSL and one not,
SSL lib will need to have been initialized.
> Libwebsockets mailing list
> Libwebsockets at ml.libwebsockets.org
More information about the Libwebsockets