back to polarssl

This commit is contained in:
clowwindy
2014-11-12 02:24:50 +08:00
parent 519232211c
commit ed2722a993
4 changed files with 16 additions and 29 deletions
+3 -3
View File
@@ -36,16 +36,16 @@ namespace Shadowsocks
return;
}
string tempPath = Path.GetTempPath();
string dllPath = tempPath + "/libeay32.dll";
string dllPath = tempPath + "/polarssl.dll";
try
{
FileManager.UncompressFile(dllPath, Resources.libeay32_dll);
FileManager.UncompressFile(dllPath, Resources.polarssl_dll);
}
catch (IOException e)
{
Console.WriteLine(e.ToString());
}
//LoadLibrary(dllPath);
LoadLibrary(dllPath);
#if !DEBUG
Logging.OpenLogFile();