You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by ng...@apache.org on 2009/02/04 20:27:53 UTC
svn commit: r740837 -
/mina/ftpserver/trunk/core/src/main/java/org/apache/ftpserver/ssl/SslConfigurationFactory.java
Author: ngn
Date: Wed Feb 4 19:27:52 2009
New Revision: 740837
URL: http://svn.apache.org/viewvc?rev=740837&view=rev
Log:
Using the JVM default keystore and truststore algorithm, rather than the hard coded Sun version (FTPSERVER-273)
Modified:
mina/ftpserver/trunk/core/src/main/java/org/apache/ftpserver/ssl/SslConfigurationFactory.java
Modified: mina/ftpserver/trunk/core/src/main/java/org/apache/ftpserver/ssl/SslConfigurationFactory.java
URL: http://svn.apache.org/viewvc/mina/ftpserver/trunk/core/src/main/java/org/apache/ftpserver/ssl/SslConfigurationFactory.java?rev=740837&r1=740836&r2=740837&view=diff
==============================================================================
--- mina/ftpserver/trunk/core/src/main/java/org/apache/ftpserver/ssl/SslConfigurationFactory.java (original)
+++ mina/ftpserver/trunk/core/src/main/java/org/apache/ftpserver/ssl/SslConfigurationFactory.java Wed Feb 4 19:27:52 2009
@@ -53,7 +53,7 @@
private String keystoreType = KeyStore.getDefaultType();
- private String keystoreAlgorithm = "SunX509";
+ private String keystoreAlgorithm = KeyManagerFactory.getDefaultAlgorithm();
private File trustStoreFile;
@@ -61,7 +61,7 @@
private String trustStoreType = KeyStore.getDefaultType();
- private String trustStoreAlgorithm = "SunX509";
+ private String trustStoreAlgorithm = TrustManagerFactory.getDefaultAlgorithm();
private String sslProtocol = "TLS";