aboutsummaryrefslogtreecommitdiffstats
path: root/netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
diff options
context:
space:
mode:
authorSaad Mohammad <[email protected]>2012-08-01 16:50:17 -0400
committerSaad Mohammad <[email protected]>2012-08-01 16:50:17 -0400
commitcbaa7e330838b4b1d14dba1fe9784425a4cd4b82 (patch)
treeb098c85c5872b7c2f219399fa630dcb098974caa /netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
parentde708f50feee964a473f337219498cde4b1a2904 (diff)
Fix PR1049: Empty jars are handled correctly during signature validation
Diffstat (limited to 'netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java')
-rw-r--r--netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java b/netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
index 86eda20..c0c3762 100644
--- a/netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
+++ b/netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
@@ -650,7 +650,7 @@ public class JNLPClassLoader extends URLClassLoader {
file.setSignedJNLPAsMissing();
//user does not trust this publisher
- if (!jcv.getAlreadyTrustPublisher()) {
+ if (!jcv.getAlreadyTrustPublisher() && !jcv.isTriviallySigned()) {
checkTrustWithUser(jcv);
} else {
/**