mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-07 15:35:09 +00:00
AppletLoader: revert native file certificate validation to after extraction as it was failing if done before.
This commit is contained in:
parent
cc91d81781
commit
6e15f0b781
1 changed files with 3 additions and 3 deletions
|
|
@ -1662,9 +1662,6 @@ public class AppletLoader extends Applet implements Runnable, AppletStub {
|
|||
InputStream in = jarFile.getInputStream(jarFile.getEntry(entry.getName()));
|
||||
OutputStream out = new FileOutputStream(path + "natives" + File.separator + entry.getName());
|
||||
|
||||
// validate if the certificate for native file is correct before extracting
|
||||
validateCertificateChain(certificate, entry.getCertificates());
|
||||
|
||||
int bufferSize;
|
||||
byte buffer[] = new byte[65536];
|
||||
|
||||
|
|
@ -1680,6 +1677,9 @@ public class AppletLoader extends Applet implements Runnable, AppletStub {
|
|||
|
||||
in.close();
|
||||
out.close();
|
||||
|
||||
// validate if the certificate for native file
|
||||
validateCertificateChain(certificate, entry.getCertificates());
|
||||
}
|
||||
subtaskMessage = "";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue