directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1778633 - /directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/ssl/BogusTrustManagerFactory.java
Date Fri, 13 Jan 2017 16:48:40 GMT
Author: elecharny
Date: Fri Jan 13 16:48:39 2017
New Revision: 1778633

URL: http://svn.apache.org/viewvc?rev=1778633&view=rev
Log:
Fixed some failures introduced in a previous commit

Modified:
    directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/ssl/BogusTrustManagerFactory.java

Modified: directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/ssl/BogusTrustManagerFactory.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/ssl/BogusTrustManagerFactory.java?rev=1778633&r1=1778632&r2=1778633&view=diff
==============================================================================
--- directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/ssl/BogusTrustManagerFactory.java
(original)
+++ directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/ssl/BogusTrustManagerFactory.java
Fri Jan 13 16:48:39 2017
@@ -52,12 +52,12 @@ class BogusTrustManagerFactory extends T
 
         @Override
         public void checkClientTrusted( X509Certificate[] chain, String authType ) throws
CertificateException {
-            // Nothing to do
+            lastReceivedServerCertificates = chain;
         }
 
         @Override
         public void checkServerTrusted( X509Certificate[] chain, String authType ) throws
CertificateException {
-            // Nothing to do
+            lastReceivedServerCertificates = chain;
         }
 
         @Override
@@ -68,25 +68,25 @@ class BogusTrustManagerFactory extends T
         @Override
         public void checkClientTrusted( X509Certificate[] chain, String authType, Socket
socket )
             throws CertificateException {
-            // Nothing to do
+            lastReceivedServerCertificates = chain;
         }
 
         @Override
         public void checkClientTrusted( X509Certificate[] chain, String authType, SSLEngine
engine )
             throws CertificateException {
-            // Nothing to do
+            lastReceivedServerCertificates = chain;
         }
 
         @Override
         public void checkServerTrusted( X509Certificate[] chain, String authType, Socket
socket )
             throws CertificateException {
-            // Nothing to do
+            lastReceivedServerCertificates = chain;
         }
 
         @Override
         public void checkServerTrusted( X509Certificate[] chain, String authType, SSLEngine
engine )
             throws CertificateException {
-            // Nothing to do
+            lastReceivedServerCertificates = chain;
         }
     };
 



Mime
View raw message