Skip to content
  1. Jan 27, 2019
  2. Jan 25, 2019
  3. Jan 24, 2019
  4. Jan 22, 2019
  5. Jan 21, 2019
  6. Jan 18, 2019
  7. Jan 16, 2019
  8. Jan 15, 2019
  9. Jan 13, 2019
  10. Jan 08, 2019
    • Matt Caswell's avatar
      Don't artificially limit the size of the ClientHello · 7835e97b
      Matt Caswell authored
      
      
      We were setting a limit of SSL3_RT_MAX_PLAIN_LENGTH on the size of the
      ClientHello. AFAIK there is nothing in the standards that requires this
      limit.
      
      The limit goes all the way back to when support for extensions was first
      added for TLSv1.0. It got converted into a WPACKET max size in 1.1.1. Most
      likely it was originally added to avoid the complexity of having to grow
      the init_buf in the middle of adding extensions. With WPACKET this is
      irrelevant since it will grow automatically.
      
      This issue came up when an attempt was made to send a very large
      certificate_authorities extension in the ClientHello.
      
      We should just remove the limit.
      
      Reviewed-by: default avatarPaul Dale <paul.dale@oracle.com>
      Reviewed-by: default avatarViktor Dukhovni <viktor@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/7424)
      7835e97b