mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-04-03 06:26:04 +00:00
Changes needed for crypto for Limelight Pi
This commit is contained in:
@@ -58,18 +58,19 @@
|
||||
|
||||
<target name="compile-java" depends="init">
|
||||
<!-- compile limelight -->
|
||||
<javac includeantruntime="false" destdir="${classes.dir}/src">
|
||||
<javac includeantruntime="false" destdir="${classes.dir}/src" debug="true">
|
||||
<src path="${src.dir}"/>
|
||||
<classpath path="${classes.dir}/common"/>
|
||||
<classpath>
|
||||
<fileset dir="${common.libs.dir}" includes="*.jar"/>
|
||||
<fileset dir="${libs.dir}" includes="*.jar"/>
|
||||
</classpath>
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<target name="compile-common" depends="init">
|
||||
<!-- compile limelight -->
|
||||
<javac includeantruntime="false" destdir="${classes.dir}/common">
|
||||
<javac includeantruntime="false" destdir="${classes.dir}/common" debug="true">
|
||||
<src path="${common.src.dir}"/>
|
||||
<classpath>
|
||||
<fileset dir="${common.libs.dir}" includes="*.jar"/>
|
||||
@@ -92,6 +93,7 @@
|
||||
|
||||
<lib>
|
||||
<fileset dir="${common.libs.dir}" includes="*.jar"/>
|
||||
<fileset dir="${libs.dir}" includes="*.jar"/>
|
||||
</lib>
|
||||
|
||||
<binlib>
|
||||
|
||||
Submodule libs/common updated: 9868596040...100e6f05ba
@@ -32,13 +32,12 @@ import org.bouncycastle.x509.X509V3CertificateGenerator;
|
||||
|
||||
import com.limelight.LimeLog;
|
||||
import com.limelight.nvstream.http.LimelightCryptoProvider;
|
||||
import com.limelight.settings.SettingsManager;
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
public class PcCryptoProvider implements LimelightCryptoProvider {
|
||||
|
||||
private File certFile = new File(SettingsManager.SETTINGS_DIR + File.separator + "client.crt");
|
||||
private File keyFile = new File(SettingsManager.SETTINGS_DIR + File.separator + "client.key");
|
||||
private File certFile = new File("client.crt");
|
||||
private File keyFile = new File("client.key");
|
||||
|
||||
private X509Certificate cert;
|
||||
private RSAPrivateKey key;
|
||||
|
||||
Reference in New Issue
Block a user