410840 - Change SSLSession.getPeerCertificateChain() to

SSLSession.getPeerCertificates().
This commit is contained in:
Simone Bordet 2013-10-16 17:31:40 +02:00
parent 879c3eb6f5
commit 6c2a14396e
1 changed files with 1 additions and 1 deletions

View File

@ -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;