From 6c2a14396e627fcfecbc816dd8e21ccc96c8c62e Mon Sep 17 00:00:00 2001 From: Simone Bordet Date: Wed, 16 Oct 2013 17:31:40 +0200 Subject: [PATCH] 410840 - Change SSLSession.getPeerCertificateChain() to SSLSession.getPeerCertificates(). --- .../main/java/org/eclipse/jetty/util/ssl/SslContextFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jetty-util/src/main/java/org/eclipse/jetty/util/ssl/SslContextFactory.java b/jetty-util/src/main/java/org/eclipse/jetty/util/ssl/SslContextFactory.java index 9869566234a..bf1d0649d02 100644 --- a/jetty-util/src/main/java/org/eclipse/jetty/util/ssl/SslContextFactory.java +++ b/jetty-util/src/main/java/org/eclipse/jetty/util/ssl/SslContextFactory.java @@ -1390,7 +1390,7 @@ public class SslContextFactory extends AbstractLifeCycle { try { - javax.security.cert.X509Certificate javaxCerts[]=sslSession.getPeerCertificateChain(); + Certificate[] javaxCerts=sslSession.getPeerCertificates(); if (javaxCerts==null||javaxCerts.length==0) return null;