You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by gn...@apache.org on 2006/05/09 08:36:15 UTC

svn commit: r405316 - /incubator/servicemix/trunk/servicemix-http/src/main/java/org/apache/servicemix/http/processors/CommonsHttpSSLSocketFactory.java

Author: gnodet
Date: Mon May  8 23:36:12 2006
New Revision: 405316

URL: http://svn.apache.org/viewcvs?rev=405316&view=rev
Log:
Fox bad copy/paste test

Modified:
    incubator/servicemix/trunk/servicemix-http/src/main/java/org/apache/servicemix/http/processors/CommonsHttpSSLSocketFactory.java

Modified: incubator/servicemix/trunk/servicemix-http/src/main/java/org/apache/servicemix/http/processors/CommonsHttpSSLSocketFactory.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-http/src/main/java/org/apache/servicemix/http/processors/CommonsHttpSSLSocketFactory.java?rev=405316&r1=405315&r2=405316&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-http/src/main/java/org/apache/servicemix/http/processors/CommonsHttpSSLSocketFactory.java (original)
+++ incubator/servicemix/trunk/servicemix-http/src/main/java/org/apache/servicemix/http/processors/CommonsHttpSSLSocketFactory.java Mon May  8 23:36:12 2006
@@ -85,7 +85,7 @@
             trustStorePassword = ssl.getTrustStorePassword();
             if (trustStorePassword == null) {
                 trustStorePassword = System.getProperty("javax.net.ssl.trustStorePassword");
-                if (keyStorePassword == null) {
+                if (trustStorePassword == null) {
                     throw new IllegalArgumentException("trustStorePassword or system property javax.net.ssl.trustStorePassword must be set");
                 }
             }