You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2015/08/08 15:58:57 UTC
svn commit: r1694801 -
/tomcat/trunk/test/org/apache/tomcat/util/net/jsse/openssl/TestCipher.java
Author: markt
Date: Sat Aug 8 13:58:56 2015
New Revision: 1694801
URL: http://svn.apache.org/r1694801
Log:
Tests were inverted.
Modified:
tomcat/trunk/test/org/apache/tomcat/util/net/jsse/openssl/TestCipher.java
Modified: tomcat/trunk/test/org/apache/tomcat/util/net/jsse/openssl/TestCipher.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/tomcat/util/net/jsse/openssl/TestCipher.java?rev=1694801&r1=1694800&r2=1694801&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/tomcat/util/net/jsse/openssl/TestCipher.java (original)
+++ tomcat/trunk/test/org/apache/tomcat/util/net/jsse/openssl/TestCipher.java Sat Aug 8 13:58:56 2015
@@ -54,7 +54,7 @@ public class TestCipher {
for (String jsseCipherSuite : jsseCipherSuites) {
if (jsseImpl.getStandardNames().contains(jsseCipherSuite)) {
found = true;
- if (!jsseImpl.getOpenSslUnmapped().contains(openSSLCipherSuite)) {
+ if (jsseImpl.getOpenSslUnmapped().contains(openSSLCipherSuite)) {
errors.append("Mapping found in " + jsseImpl.getVendor() +
"'s JSSE implementation for " + openSSLCipherSuite +
" when none was expected\n");
@@ -62,10 +62,10 @@ public class TestCipher {
break;
}
}
- if (!found && jsseImpl.getOpenSslUnmapped().contains(openSSLCipherSuite)) {
+ if (!found && !jsseImpl.getOpenSslUnmapped().contains(openSSLCipherSuite)) {
errors.append("No mapping found in " + jsseImpl.getVendor() +
"'s JSSE implementation for " + openSSLCipherSuite +
- " when one was expected");
+ " when one was expected\n");
}
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org