mirror of https://github.com/apache/poi.git
Add slightly more output if signature-test fails
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894681 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
34ea6a50e0
commit
f4ae175558
|
@ -1177,6 +1177,8 @@ class TestSignatureInfo {
|
|||
} else if (file.exists()) {
|
||||
try (InputStream fis = new FileInputStream(file)) {
|
||||
keystore.load(fis, password);
|
||||
} catch (IOException e) {
|
||||
throw new IOException("Failed when reading file " + file, e);
|
||||
}
|
||||
} else {
|
||||
keystore.load(null, password);
|
||||
|
|
Loading…
Reference in New Issue