Author: remy.maucherat(a)jboss.com
Date: 2013-12-09 11:20:20 -0500 (Mon, 09 Dec 2013)
New Revision: 2324
Modified:
branches/7.4.x/src/main/java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java
branches/7.4.x/src/main/java/org/apache/tomcat/util/net/jsse/NioJSSESocketChannelFactory.java
branches/7.4.x/src/main/java/org/jboss/web/CoyoteMessages.java
Log:
Andiamo.
Modified:
branches/7.4.x/src/main/java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java
===================================================================
---
branches/7.4.x/src/main/java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java 2013-12-09
16:18:00 UTC (rev 2323)
+++
branches/7.4.x/src/main/java/org/apache/tomcat/util/net/jsse/JSSESocketFactory.java 2013-12-09
16:20:20 UTC (rev 2324)
@@ -258,7 +258,7 @@
enabledCiphers = new String[vec.size()];
vec.copyInto(enabledCiphers);
} else {
- throw new IOException("no cipher match"); // Like openssl.
+ throw new IOException(MESSAGES.noCipherMatch()); // Like openssl.
}
} else {
enabledCiphers = sslProxy.getDefaultCipherSuites();
Modified:
branches/7.4.x/src/main/java/org/apache/tomcat/util/net/jsse/NioJSSESocketChannelFactory.java
===================================================================
---
branches/7.4.x/src/main/java/org/apache/tomcat/util/net/jsse/NioJSSESocketChannelFactory.java 2013-12-09
16:18:00 UTC (rev 2323)
+++
branches/7.4.x/src/main/java/org/apache/tomcat/util/net/jsse/NioJSSESocketChannelFactory.java 2013-12-09
16:20:20 UTC (rev 2324)
@@ -396,8 +396,8 @@
enabledCiphers = new String[vec.size()];
vec.copyInto(enabledCiphers);
} else {
- throw new IOException("no cipher match"); //
Like openssl.
- }
+ throw new IOException(MESSAGES.noCipherMatch()); // Like openssl.
+ }
} else {
enabledCiphers = sslProxy.getDefaultCipherSuites();
}
Modified: branches/7.4.x/src/main/java/org/jboss/web/CoyoteMessages.java
===================================================================
--- branches/7.4.x/src/main/java/org/jboss/web/CoyoteMessages.java 2013-12-09 16:18:00 UTC
(rev 2323)
+++ branches/7.4.x/src/main/java/org/jboss/web/CoyoteMessages.java 2013-12-09 16:20:20 UTC
(rev 2324)
@@ -280,4 +280,7 @@
@Message(id = 2080, value = "Thread [%s] stoppe to avoid potential leak")
String threadStopped(String threadName);
+ @Message(id = 2081, value = "No cipher match")
+ String noCipherMatch();
+
}
Show replies by date