diff options
author | Deepak Bhole <[email protected]> | 2011-08-03 14:11:11 -0400 |
---|---|---|
committer | Deepak Bhole <[email protected]> | 2011-08-03 14:11:11 -0400 |
commit | 3dd40327ead5eabb47b3632b66dc1ebf64279034 (patch) | |
tree | fe0900190ffbdb7cf3ed9b155f3b4e0c65922906 | |
parent | 742992d4908c77888f1f132eb8cae0010870abdd (diff) |
PR768: Signed applets/Web Start apps don't work with OpenJDK7 and up
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | netx/net/sourceforge/jnlp/tools/JarSigner.java | 2 |
3 files changed, 9 insertions, 1 deletions
@@ -12,6 +12,12 @@ * netx/net/sourceforge/jnlp/Node.java: Removed getAttributeNames() method from the commented section +2011-08-03 Deepak Bhole <[email protected]> + + PR768: Signed applets/Web Start apps don't work with OpenJDK7 and up + * netx/net/sourceforge/jnlp/tools/JarSigner.java (verifyJar): Put entry in + cert hashtable only if the entry is expected to be signed. + 2011-08-02 Jiri Vanek <[email protected]> *Makefile.am: (stamps/netx-dist-tests-prepare-reproducers.stamp): @@ -14,6 +14,8 @@ New in release 1.2 (2011-XX-XX): - RH718170, CVE-2011-2514: Java Web Start security warning dialog manipulation * Plugin - PR749: sun.applet.PluginStreamHandler#handleMessage(String) really slow +Common + - PR768: Signed applets/Web Start apps don't work with OpenJDK7 and up New in release 1.1 (2011-XX-XX): * Security updates diff --git a/netx/net/sourceforge/jnlp/tools/JarSigner.java b/netx/net/sourceforge/jnlp/tools/JarSigner.java index 11bbbb5..b452dbc 100644 --- a/netx/net/sourceforge/jnlp/tools/JarSigner.java +++ b/netx/net/sourceforge/jnlp/tools/JarSigner.java @@ -284,7 +284,7 @@ public class JarSigner implements CertVerifier { if (shouldHaveSignature) totalSignableEntries++; - if (isSigned) { + if (shouldHaveSignature && isSigned) { for (int i = 0; i < signers.length; i++) { CertPath certPath = signers[i].getSignerCertPath(); if (!certs.containsKey(certPath)) |