Upgraded Tor to 0.2.5.10 with OpenSSL 1.0.2.

This commit is contained in:
akwizgran
2015-01-30 19:23:36 +00:00
parent 4fcc3092ae
commit c14697972a
4 changed files with 2 additions and 2 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -266,14 +266,14 @@ class TorPlugin implements DuplexPlugin, EventHandler {
} }
private InputStream getTorInputStream() throws IOException { private InputStream getTorInputStream() throws IOException {
InputStream in = appContext.getResources().getAssets().open("tor"); InputStream in = appContext.getResources().getAssets().open("tor.zip");
ZipInputStream zin = new ZipInputStream(in); ZipInputStream zin = new ZipInputStream(in);
if(zin.getNextEntry() == null) throw new IOException(); if(zin.getNextEntry() == null) throw new IOException();
return zin; return zin;
} }
private InputStream getGeoIpInputStream() throws IOException { private InputStream getGeoIpInputStream() throws IOException {
InputStream in = appContext.getResources().getAssets().open("geoip"); InputStream in = appContext.getResources().getAssets().open("geoip.zip");
ZipInputStream zin = new ZipInputStream(in); ZipInputStream zin = new ZipInputStream(in);
if(zin.getNextEntry() == null) throw new IOException(); if(zin.getNextEntry() == null) throw new IOException();
return zin; return zin;