Skip to content
Snippets Groups Projects
Commit c64e4bac authored by Andy Green's avatar Andy Green
Browse files

lws_context_init_client_ssl ssl lib init already done in context


Signed-off-by: default avatarAndy Green <andy@warmcat.com>
parent 54b856fe
No related branches found
No related tags found
No related merge requests found
......@@ -318,12 +318,7 @@ int lws_context_init_client_ssl(struct lws_context_creation_info *info,
if (info->port != CONTEXT_PORT_NO_LISTEN)
return 0;
/* basic openssl init */
SSL_library_init();
OpenSSL_add_all_algorithms();
SSL_load_error_strings();
/* basic openssl init already happened in context init */
method = (SSL_METHOD *)SSLv23_client_method();
if (!method) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment