tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r616839 - /tomcat/trunk/java/org/apache/tomcat/util/net/jsse/JSSESupport.java
Date Wed, 30 Jan 2008 18:43:53 GMT
Author: markt
Date: Wed Jan 30 10:43:52 2008
New Revision: 616839

URL: http://svn.apache.org/viewvc?rev=616839&view=rev
Log:
Tab police - no functional change.

Modified:
    tomcat/trunk/java/org/apache/tomcat/util/net/jsse/JSSESupport.java

Modified: tomcat/trunk/java/org/apache/tomcat/util/net/jsse/JSSESupport.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/jsse/JSSESupport.java?rev=616839&r1=616838&r2=616839&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/net/jsse/JSSESupport.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/jsse/JSSESupport.java Wed Jan 30 10:43:52
2008
@@ -125,19 +125,19 @@
             return null;
 
         // Convert JSSE's certificate format to the ones we need
-	X509Certificate [] jsseCerts = null;
-	try {
-	    jsseCerts = session.getPeerCertificateChain();
-	} catch(Exception bex) {
-	    // ignore.
-	}
-	if (jsseCerts == null)
-	    jsseCerts = new X509Certificate[0];
-	if(jsseCerts.length <= 0 && force) {
-	    session.invalidate();
-	    handShake();
-	    session = ssl.getSession();
-	}
+        X509Certificate [] jsseCerts = null;
+        try {
+            jsseCerts = session.getPeerCertificateChain();
+        } catch(Exception bex) {
+            // ignore.
+        }
+        if (jsseCerts == null)
+            jsseCerts = new X509Certificate[0];
+        if(jsseCerts.length <= 0 && force) {
+            session.invalidate();
+            handShake();
+            session = ssl.getSession();
+        }
         return getX509Certificates(session);
     }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message