1. 21 Mar, 2017 1 commit
    • Matt Caswell's avatar
      Fix resumption after HRR · 2c7e6456
      Matt Caswell authored
      Commit 6b1bb98f
      
       moved the processing of ClientHello extensions into the
      state machine post-processing stage. After processing s->init_num is reset
      to 0, so by post-processing we cannot rely on its value. Unfortunately we
      were using it to handle the PSK extension. This causes the handshake to
      fail.
      
      We were using init_num to figure out the length of ClientHello2 so we can
      remove it from the handshake_buffer. The handshake_buffer holds the
      transcript of all the messages sent so far. For PSK processing though we
      only want to add in a partial ClientHello2. This commit changes things so
      we just work out where ClientHello2 starts, working forward from the
      beginning of handshake_buffer.
      
      Fixes #2983
      
      Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/2996)
      (cherry picked from commit 77815a02)
      2c7e6456
  2. 16 Mar, 2017 6 commits
  3. 15 Mar, 2017 15 commits
  4. 14 Mar, 2017 18 commits