1. 21 3月, 2017 1 次提交
    • M
      Fix resumption after HRR · 77815a02
      Matt Caswell 提交于
      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: NRich Salz <rsalz@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/2996)
      77815a02
  2. 20 3月, 2017 1 次提交
  3. 18 3月, 2017 4 次提交
  4. 17 3月, 2017 2 次提交
  5. 16 3月, 2017 11 次提交
  6. 15 3月, 2017 3 次提交
  7. 11 3月, 2017 2 次提交
  8. 10 3月, 2017 3 次提交
  9. 08 3月, 2017 4 次提交
  10. 07 3月, 2017 3 次提交
  11. 05 3月, 2017 3 次提交
  12. 04 3月, 2017 3 次提交