Fix TCK failure with mod_proxy_http and HTTP-BIO connector as SSL key size is not...
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 8 May 2011 21:35:28 +0000 (21:35 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 8 May 2011 21:35:28 +0000 (21:35 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1100822 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/valves/SSLValve.java
webapps/docs/changelog.xml

index 2ad9be0..36955c7 100644 (file)
@@ -126,7 +126,8 @@ public class SSLValve extends ValveBase {
         }
         strcert0 = mygetHeader(request, "ssl_cipher_usekeysize");
         if (strcert0 != null) {
-            request.setAttribute(Globals.KEY_SIZE_ATTR, strcert0);
+            request.setAttribute(Globals.KEY_SIZE_ATTR,
+                    Integer.valueOf(strcert0));
         }
         getNext().invoke(request, response);
     }
index 913ea74..2835db1 100644 (file)
         Stylistic improvements to MIME type sync script.
         Based on a patch provided by Felix Schumacher. (rjung)
       </update>
+      <fix>
+        Ensure that the SSLValve provides the SSL key size as an Integer rather
+        than a String. (markt)
+      </fix>
     </changelog>
   </subsection>
 </section>