1. 14 9月, 2016 1 次提交
  2. 13 9月, 2016 7 次提交
  3. 18 8月, 2016 1 次提交
  4. 18 5月, 2016 1 次提交
  5. 03 3月, 2016 1 次提交
    • E
      Refactor ClientHello extension parsing · 06217867
      Emilia Kasper 提交于
      1) Simplify code with better PACKET methods.
      
      2) Make broken SNI parsing explicit. SNI was intended to be extensible
      to new name types but RFC 4366 defined the syntax inextensibly, and
      OpenSSL has never parsed SNI in a way that would allow adding a new name
      type. RFC 6066 fixed the definition but due to broken implementations
      being widespread, it appears impossible to ever extend SNI.
      
      3) Annotate resumption behaviour. OpenSSL doesn't currently handle all
      extensions correctly upon resumption. Annotate for further clean-up.
      
      4) Send an alert on ALPN protocol mismatch.
      Reviewed-by: NKurt Roeckx <kurt@openssl.org>
      06217867
  6. 01 2月, 2016 1 次提交
  7. 27 1月, 2016 1 次提交
    • R
      Remove /* foo.c */ comments · 34980760
      Rich Salz 提交于
      This was done by the following
              find . -name '*.[ch]' | /tmp/pl
      where /tmp/pl is the following three-line script:
              print unless $. == 1 && m@/\* .*\.[ch] \*/@;
              close ARGV if eof; # Close file to reset $.
      
      And then some hand-editing of other files.
      Reviewed-by: NViktor Dukhovni <viktor@openssl.org>
      34980760
  8. 03 1月, 2016 1 次提交
  9. 30 12月, 2015 1 次提交
  10. 23 12月, 2015 1 次提交
  11. 17 12月, 2015 1 次提交
    • R
      Rename some BUF_xxx to OPENSSL_xxx · 7644a9ae
      Rich Salz 提交于
      Rename BUF_{strdup,strlcat,strlcpy,memdup,strndup,strnlen}
      to OPENSSL_{strdup,strlcat,strlcpy,memdup,strndup,strnlen}
      Add #define's for the old names.
      Add CRYPTO_{memdup,strndup}, called by OPENSSL_{memdup,strndup} macros.
      Reviewed-by: NTim Hudson <tjh@openssl.org>
      7644a9ae
  12. 21 10月, 2015 1 次提交
  13. 15 10月, 2015 1 次提交
  14. 09 10月, 2015 1 次提交
  15. 08 10月, 2015 1 次提交
  16. 06 10月, 2015 2 次提交
    • E
      Add PACKET_copy_all · 67202973
      Emilia Kasper 提交于
      Reviewed-by: NMatt Caswell <matt@openssl.org>
      67202973
    • E
      ssl3_get_client_hello: rearrange logic · b3e2272c
      Emilia Kasper 提交于
      Move all packet parsing to the beginning of the method. This limits the
      SSLv2 compatibility soup to the parsing, and makes the rest of the
      processing uniform.
      
      This is also needed for simpler EMS support: EMS servers need to do an
      early scan for EMS to make resumption decisions. This'll be easier when
      the entire ClientHello is parsed in the beginning.
      
      As a side effect,
      1) PACKETize ssl_get_prev_session and tls1_process_ticket; and
      2) Delete dead code for SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG.
      Reviewed-by: NMatt Caswell <matt@openssl.org>
      b3e2272c
  17. 23 9月, 2015 1 次提交
  18. 18 9月, 2015 2 次提交
  19. 09 9月, 2015 1 次提交
  20. 26 8月, 2015 2 次提交
  21. 14 8月, 2015 1 次提交
  22. 04 8月, 2015 1 次提交
  23. 03 8月, 2015 1 次提交
    • M
      Add initial packet parsing code · 7e729bb5
      Matt Caswell 提交于
      Provide more robust (inline) functions to replace n2s, n2l, etc. These
      functions do the same thing as the previous macros, but also keep track
      of the amount of data remaining and return an error if we try to read more
      data than we've got.
      Reviewed-by: NTim Hudson <tjh@openssl.org>
      7e729bb5