提交 1964ea49 编写于 作者: W weijun

8023672: Enhance jar file validation

Summary: Also reviewed by Chris Ries and Alexander Fomin
Reviewed-by: mullan, sherman
上级 52def0c7
...@@ -179,7 +179,9 @@ class JarVerifier { ...@@ -179,7 +179,9 @@ class JarVerifier {
name = name.substring(1); name = name.substring(1);
// only set the jev object for entries that have a signature // only set the jev object for entries that have a signature
if (sigFileSigners.get(name) != null) { // (either verified or not)
if (sigFileSigners.get(name) != null ||
verifiedSigners.get(name) != null) {
mev.setEntry(name, je); mev.setEntry(name, je);
return; return;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册