OPENDJ-1839 Fix bug introduced by cleanup
* SecurityOptions.java
If no certificate option is used, straight return the SecurityOption object.
| | |
| | | public static SecurityOptions createOptionsForCertificatType(CertificateType certType, String keystorePath, |
| | | String keystorePwd, boolean enableSSL, boolean enableStartTLS, int sslPort, String aliasToUse) |
| | | { |
| | | if (certType == CertificateType.NO_CERTIFICATE) |
| | | { |
| | | return createNoCertificateOptions(); |
| | | } |
| | | |
| | | SecurityOptions ops = new SecurityOptions(); |
| | | if (keystorePath != null) |
| | | { |