diff --git a/RingD.cpp b/RingD.cpp index c9f30a7058c6b6fff558ecbe26a229670c91ebe6..307cc902b6fccd711b086c0c23846e30fdac8123 100644 --- a/RingD.cpp +++ b/RingD.cpp @@ -28,6 +28,7 @@ #include "account_schema.h" #include "account_const.h" #include "string_utils.h" // used to get some const expr like TRUE_STR +#include <gnutls\gnutls.h> #include "SmartPanel.xaml.h" @@ -652,9 +653,13 @@ RingClientUWP::RingD::startDaemon() MSG_("\n<RegisteredNameFound>\n");*/ }; + gnutls_global_init(); + DRing::init(static_cast<DRing::InitFlag>(DRing::DRING_FLAG_CONSOLE_LOG | DRing::DRING_FLAG_DEBUG)); + + if (!DRing::start()) { ERR_("\ndaemon didn't start.\n"); return; diff --git a/ring-client-uwp.vcxproj b/ring-client-uwp.vcxproj index 5b63ce3b66dccef2e1e557b7df97517017a37a76..817c41b6f35279a259fa9e5e479c7ecce45e8ea1 100644 --- a/ring-client-uwp.vcxproj +++ b/ring-client-uwp.vcxproj @@ -260,9 +260,11 @@ </None> <None Include="..\restbed\dependency\openssl\out32dll\libeay32.dll"> <DeploymentContent Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</DeploymentContent> + <DeploymentContent>true</DeploymentContent> </None> <None Include="..\restbed\dependency\openssl\out32dll\ssleay32.dll"> <DeploymentContent Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</DeploymentContent> + <DeploymentContent>true</DeploymentContent> </None> <None Include="ring-client-uwp_StoreKey.pfx" /> <None Include="ring-client-uwp_TemporaryKey.pfx" />