mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
30.44.2013 8748c61ae070da1bd2b3609a43eb2e862d9ddacb
Fix OPENDJ-729: ArrayIndexOutOfBoundsException when attempting to search using SSL with SASL/EXTERNAL
1 files modified
4 ■■■■ changed files
opendj3/opendj-ldap-toolkit/src/main/java/com/forgerock/opendj/ldap/tools/ApplicationKeyManager.java 4 ●●●● patch | view | raw | blame | history
opendj3/opendj-ldap-toolkit/src/main/java/com/forgerock/opendj/ldap/tools/ApplicationKeyManager.java
@@ -90,7 +90,7 @@
            }
        }
        // Have some fallbacks to choose the provider and algorith of the
        // Have some fallbacks to choose the provider and algorithm of the
        // key manager. First see if the user wanted to use something
        // specific, then try with the SunJSSE provider and SunX509
        // algorithm. Finally, fallback to the default algorithm of the JVM.
@@ -117,7 +117,7 @@
                 * manager.
                 */
                for (final KeyManager km : kms) {
                    if (kms[i] instanceof X509KeyManager) {
                    if (km instanceof X509KeyManager) {
                        keyManager = (X509KeyManager) km;
                        break;
                    }