src/java.base/share/classes/sun/security/ssl/TrustStoreManager.java
changeset 53563 a4b7ea85d668
parent 50768 68fa3d4026ea
child 54443 dfba4e321ab3
equal deleted inserted replaced
53559:1ae0b76bb5df 53563:a4b7ea85d668
     1 /*
     1 /*
     2  * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   329 
   329 
   330             return certs;
   330             return certs;
   331         }
   331         }
   332 
   332 
   333         /**
   333         /**
   334          * Load the the KeyStore as described in the specified descriptor.
   334          * Load the KeyStore as described in the specified descriptor.
   335          */
   335          */
   336         private static KeyStore loadKeyStore(
   336         private static KeyStore loadKeyStore(
   337                 TrustStoreDescriptor descriptor) throws Exception {
   337                 TrustStoreDescriptor descriptor) throws Exception {
   338             if (!"NONE".equals(descriptor.storeName) &&
   338             if (!"NONE".equals(descriptor.storeName) &&
   339                     descriptor.storeFile == null) {
   339                     descriptor.storeFile == null) {