1. 10 Sep, 2014 1 commit
  2. 08 Sep, 2014 1 commit
  3. 05 Sep, 2014 1 commit
    • Adam Langley's avatar
      psk_client_callback, 128-byte id bug. · 13ce52be
      Adam Langley authored
      
      
      Fix a bug in handling of 128 byte long PSK identity in
      psk_client_callback.
      
      OpenSSL supports PSK identities of up to (and including) 128 bytes in
      length. PSK identity is obtained via the psk_client_callback,
      implementors of which are expected to provide a NULL-terminated
      identity. However, the callback is invoked with only 128 bytes of
      storage thus making it impossible to return a 128 byte long identity and
      the required additional NULL byte.
      
      This CL fixes the issue by passing in a 129 byte long buffer into the
      psk_client_callback. As a safety precaution, this CL also zeroes out the
      buffer before passing it into the callback, uses strnlen for obtaining
      the length of the identity returned by the callback, and aborts the
      handshake if the identity (without the NULL terminator) is longer than
      128 bytes.
      
      (Original patch amended to achieve strnlen in a different way.)
      
      Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
      (cherry picked from commit be0d8517)
      13ce52be
  4. 04 Sep, 2014 1 commit
  5. 03 Sep, 2014 2 commits
  6. 02 Sep, 2014 1 commit
  7. 30 Aug, 2014 4 commits
  8. 29 Aug, 2014 1 commit
  9. 28 Aug, 2014 3 commits
  10. 27 Aug, 2014 4 commits
  11. 26 Aug, 2014 1 commit
  12. 25 Aug, 2014 1 commit
  13. 24 Aug, 2014 1 commit
  14. 22 Aug, 2014 3 commits
  15. 21 Aug, 2014 2 commits
  16. 19 Aug, 2014 1 commit
  17. 15 Aug, 2014 1 commit
  18. 13 Aug, 2014 1 commit
  19. 12 Aug, 2014 1 commit
  20. 08 Aug, 2014 2 commits
  21. 07 Aug, 2014 1 commit
  22. 06 Aug, 2014 6 commits