[Libwebsockets] LWS_CALLBACK_OPENSSL_LOAD_EXTRA_CLIENT_VERIFY_CERTS called even with no ssl_connection

Andy Green 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
> 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
> http://ml.libwebsockets.org/mailman/listinfo/libwebsockets

More information about the Libwebsockets mailing list