1. 29 Jul, 2016 1 commit
    • Matt Caswell's avatar
      Make the checks for an SSLv2 style record stricter · 0647719d
      Matt Caswell authored
      
      
      SSLv2 is no longer supported in 1.1.0, however we *do* still accept an SSLv2
      style ClientHello, as long as we then subsequently negotiate a protocol
      version >= SSLv3. The record format for SSLv2 style ClientHellos is quite
      different to SSLv3+. We only accept this format in the first record of an
      initial ClientHello. Previously we checked this by confirming
      s->first_packet is set and s->server is true. However, this really only
      tells us that we are dealing with an initial ClientHello, not that it is
      the first record (s->first_packet is badly named...it really means this is
      the first message). To check this is the first record of the initial
      ClientHello we should also check that we've not received any data yet
      (s->init_num == 0), and that we've not had any empty records.
      
      GitHub Issue #1298
      
      Reviewed-by: default avatarEmilia Käsper <emilia@openssl.org>
      0647719d
  2. 28 Jul, 2016 2 commits
  3. 26 Jul, 2016 11 commits
  4. 25 Jul, 2016 26 commits