aboutsummaryrefslogtreecommitdiffstats
path: root/netx/net/sourceforge/jnlp
diff options
context:
space:
mode:
authorDeepak Bhole <[email protected]>2011-08-03 14:11:11 -0400
committerDeepak Bhole <[email protected]>2011-08-03 14:11:11 -0400
commit3dd40327ead5eabb47b3632b66dc1ebf64279034 (patch)
treefe0900190ffbdb7cf3ed9b155f3b4e0c65922906 /netx/net/sourceforge/jnlp
parent742992d4908c77888f1f132eb8cae0010870abdd (diff)
PR768: Signed applets/Web Start apps don't work with OpenJDK7 and up
Diffstat (limited to 'netx/net/sourceforge/jnlp')
-rw-r--r--netx/net/sourceforge/jnlp/tools/JarSigner.java2
1 files changed, 1 insertions, 1 deletions
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))