forked from pool/ca-certificates
Accepting request 49242 from Base:System
checked in (request 49242) OBS-URL: https://build.opensuse.org/request/show/49242 OBS-URL: https://build.opensuse.org/package/show/Base:System/ca-certificates?expand=0&rev=19
This commit is contained in:
parent
b6f9b628c7
commit
e828c2043a
@ -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
|
Fri May 21 12:46:55 UTC 2010 - mvyskocil@suse.cz
|
||||||
|
|
||||||
|
@ -51,6 +51,7 @@ public class keystore
|
|||||||
throws java.security.KeyStoreException,
|
throws java.security.KeyStoreException,
|
||||||
java.security.NoSuchAlgorithmException,
|
java.security.NoSuchAlgorithmException,
|
||||||
java.security.cert.CertificateException,
|
java.security.cert.CertificateException,
|
||||||
|
java.io.FileNotFoundException,
|
||||||
java.io.IOException
|
java.io.IOException
|
||||||
{
|
{
|
||||||
char[] password = null;
|
char[] password = null;
|
||||||
@ -148,13 +149,7 @@ public class keystore
|
|||||||
int removed = 0;
|
int removed = 0;
|
||||||
|
|
||||||
for (int i = 0; i < certs.length; ++i) {
|
for (int i = 0; i < certs.length; ++i) {
|
||||||
BufferedInputStream f;
|
BufferedInputStream f = new BufferedInputStream(new FileInputStream(cadirname+"/"+certs[i]));
|
||||||
try {
|
|
||||||
f = new BufferedInputStream(new FileInputStream(cadirname+"/"+certs[i]));
|
|
||||||
} catch (java.io.FileNotFoundException ex) {
|
|
||||||
System.err.println("skipping " + certs[i] + ": file not found");
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
String marker = "-----BEGIN CERTIFICATE-----";
|
String marker = "-----BEGIN CERTIFICATE-----";
|
||||||
boolean found = false;
|
boolean found = false;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user