billbarker    2003/09/08 21:23:06

  Modified:    util/java/org/apache/tomcat/util/net/jsse Tag: coyote_10
                        JSSE14SocketFactory.java
  Log:
  Temporary patch to set the TrustManager algorithm to be the same as the keystore 
algorithm.  This works in most cases, and doesn't require porting all of the changes 
from the 5.0.x branch.
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.2.2.3   +1 -1      
jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/jsse/JSSE14SocketFactory.java
  
  Index: JSSE14SocketFactory.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net/jsse/JSSE14SocketFactory.java,v
  retrieving revision 1.2.2.2
  retrieving revision 1.2.2.3
  diff -u -r1.2.2.2 -r1.2.2.3
  --- JSSE14SocketFactory.java  1 Jul 2003 05:27:12 -0000       1.2.2.2
  +++ JSSE14SocketFactory.java  9 Sep 2003 04:23:06 -0000       1.2.2.3
  @@ -161,7 +161,7 @@
                   KeyStore trustStore = 
                       initKeyStore( trustStoreFile, trustStorePassword);
               
  -                TrustManagerFactory tmf = 
TrustManagerFactory.getInstance("SunX509");
  +                TrustManagerFactory tmf = 
TrustManagerFactory.getInstance(algorithm);
   
                   tmf.init(trustStore);
                   tm = tmf.getTrustManagers();
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to