larryi 02/01/25 09:54:28 Modified: src/share/org/apache/tomcat/util/net JSSESupport.java PureTLSSupport.java SSLSupport.java Log: Change the object returned by getPeerCertificateChain() to actually be Object. This restores the ability to compile and run with JDK 1.1.8. This should not cause a problem since it is returned as an Object by the only routine that uses it, getInfo() in Http10Interceptor. Revision Changes Path 1.2 +1 -1 jakarta-tomcat/src/share/org/apache/tomcat/util/net/JSSESupport.java Index: JSSESupport.java =================================================================== RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/util/net/JSSESupport.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- JSSESupport.java 7 Dec 2001 04:40:06 -0000 1.1 +++ JSSESupport.java 25 Jan 2002 17:54:28 -0000 1.2 @@ -92,7 +92,7 @@ return "Unknown"; } - public java.security.cert.Certificate[] getPeerCertificateChain() + public Object[] getPeerCertificateChain() throws IOException { // Look up the current SSLSession 1.2 +1 -1 jakarta-tomcat/src/share/org/apache/tomcat/util/net/PureTLSSupport.java Index: PureTLSSupport.java =================================================================== RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/util/net/PureTLSSupport.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- PureTLSSupport.java 7 Dec 2001 04:40:06 -0000 1.1 +++ PureTLSSupport.java 25 Jan 2002 17:54:28 -0000 1.2 @@ -92,7 +92,7 @@ return SSLPolicyInt.getCipherSuiteName(cs); } - public java.security.cert.Certificate[] getPeerCertificateChain() + public Object[] getPeerCertificateChain() throws IOException { Vector v=ssl.getCertificateChain(); 1.2 +1 -1 jakarta-tomcat/src/share/org/apache/tomcat/util/net/SSLSupport.java Index: SSLSupport.java =================================================================== RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/util/net/SSLSupport.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- SSLSupport.java 7 Dec 2001 04:40:06 -0000 1.1 +++ SSLSupport.java 25 Jan 2002 17:54:28 -0000 1.2 @@ -71,7 +71,7 @@ public interface SSLSupport { public String getCipherSuite() throws IOException; - public java.security.cert.Certificate[] getPeerCertificateChain() + public Object[] getPeerCertificateChain() throws IOException; /**
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>