Skip to content
Snippets Groups Projects
Commit b2112299 authored by Marek Kochanowicz's avatar Marek Kochanowicz Committed by Andy Green
Browse files

Subject: [PATCH] Initialize openssl during client initialization.

parent 1cea5816
Branches
Tags
No related merge requests found
......@@ -249,6 +249,13 @@ 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();
method = (SSL_METHOD *)SSLv23_client_method();
if (!method) {
error = ERR_get_error();
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment