git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894681 13f79535-47bb-0310-9956-ffa450edef68tags/REL_5_2_0
@@ -1177,7 +1177,9 @@ 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); | |||
} |