diff --git a/ca-certificates.changes b/ca-certificates.changes index dbfcbb3..75e3ca7 100644 --- a/ca-certificates.changes +++ b/ca-certificates.changes @@ -1,8 +1,3 @@ -------------------------------------------------------------------- -Mon Sep 27 14:58:03 UTC 2010 - lnussel@suse.de - -- catch FileNotFoundException (bnc#623365) - ------------------------------------------------------------------- Fri May 21 12:46:55 UTC 2010 - mvyskocil@suse.cz diff --git a/keystore.java b/keystore.java index c60c491..34ca526 100644 --- a/keystore.java +++ b/keystore.java @@ -51,6 +51,7 @@ public class keystore throws java.security.KeyStoreException, java.security.NoSuchAlgorithmException, java.security.cert.CertificateException, + java.io.FileNotFoundException, java.io.IOException { char[] password = null; @@ -148,13 +149,7 @@ public class keystore int removed = 0; for (int i = 0; i < certs.length; ++i) { - BufferedInputStream f; - try { - f = new BufferedInputStream(new FileInputStream(cadirname+"/"+certs[i])); - } catch (java.io.FileNotFoundException ex) { - System.err.println("skipping " + certs[i] + ": file not found"); - continue; - } + BufferedInputStream f = new BufferedInputStream(new FileInputStream(cadirname+"/"+certs[i])); String marker = "-----BEGIN CERTIFICATE-----"; boolean found = false;