Skip to content

Commit

Permalink
macOS: fixing live server crash (coronalabs#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 f54dae9 commit 0e40eca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platform/shared/CoronaLiveServer/CoronaLiveServerCore.cpp
Original file line number Diff line number Diff line change
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 0e40eca

Please sign in to comment.