Skip to content

Commit

Permalink
macOS: fixing live server crash (#85)
Browse files Browse the repository at this point in the history
SSL Library not initialized before calling SSL CTX new. Resulting in a null CTX.
  • Loading branch information
agramonte committed Jun 8, 2020
1 parent 9f728e3 commit 951d238
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platform/shared/CoronaLiveServer/CoronaLiveServerCore.cpp
Expand Up @@ -99,11 +99,11 @@ class SSLSetup

SSLSetup(evhttp *httpd)
{
/*std::call_once(sOnceSSLInit, []{
std::call_once(sOnceSSLInit, []{
SSL_library_init();
SSL_load_error_strings();
OpenSSL_add_all_algorithms();
});*/
});

ctx = SSL_CTX_new(SSLv23_method());

Expand Down

0 comments on commit 951d238

Please sign in to comment.