Author: ngn
Date: Wed Feb  4 22:09:00 2009
New Revision: 740915

URL: http://svn.apache.org/viewvc?rev=740915&view=rev
Log:
Using the JVM default keystore and truststore algorithm, rather than the hard 
coded Sun version (FTPSERVER-273)

Modified:
    
mina/ftpserver/branches/1.0.x/core/src/main/java/org/apache/ftpserver/ssl/SslConfigurationFactory.java

Modified: 
mina/ftpserver/branches/1.0.x/core/src/main/java/org/apache/ftpserver/ssl/SslConfigurationFactory.java
URL: 
http://svn.apache.org/viewvc/mina/ftpserver/branches/1.0.x/core/src/main/java/org/apache/ftpserver/ssl/SslConfigurationFactory.java?rev=740915&r1=740914&r2=740915&view=diff
==============================================================================
--- 
mina/ftpserver/branches/1.0.x/core/src/main/java/org/apache/ftpserver/ssl/SslConfigurationFactory.java
 (original)
+++ 
mina/ftpserver/branches/1.0.x/core/src/main/java/org/apache/ftpserver/ssl/SslConfigurationFactory.java
 Wed Feb  4 22:09:00 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";
 


Reply via email to