1. 30 10月, 2015 3 次提交
    • M
      More state machine reorg · 61ae935a
      Matt Caswell 提交于
      Move some function definitions around within the state machine to make sure
      they are in the correct files. Also create a statem_locl.h header for stuff
      entirely local to the state machine code and move various definitions into
      it.
      Reviewed-by: NTim Hudson <tjh@openssl.org>
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      61ae935a
    • M
      Reorganise state machine files · 8ba708e5
      Matt Caswell 提交于
      Pull out the state machine into a separate sub directory. Also moved some
      functions which were nothing to do with the state machine but were in state
      machine files. Pulled all the SSL_METHOD definitions into one place...most
      of those files had very little left in them any more.
      Reviewed-by: NTim Hudson <tjh@openssl.org>
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      8ba708e5
    • M
      Add initial state machine rewrite code · f8e0a557
      Matt Caswell 提交于
      This is the first drop of the new state machine code.
      
      The rewrite has the following objectives:
      - Remove duplication of state code between client and server
      - Remove duplication of state code between TLS and DTLS
      - Simplify transitions and bring the logic together in a single location
        so that it is easier to validate
      - Remove duplication of code between each of the message handling functions
      - Receive a message first and then work out whether that is a valid
        transition - not the other way around (the other way causes lots of issues
        where we are expecting one type of message next but actually get something
        else)
      - Separate message flow state from handshake state (in order to better
        understand each)
        - message flow state = when to flush buffers; handling restarts in the
          event of NBIO events; handling the common flow of steps for reading a
          message and the common flow of steps for writing a message etc
        - handshake state = what handshake message are we working on now
      - Control complexity: only the state machine can change state: keep all
        the state changes local to a file
      
      This builds on previous state machine related work:
      - Surface CCS processing in the state machine
      - Version negotiation rewrite
      Reviewed-by: NTim Hudson <tjh@openssl.org>
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      f8e0a557
  2. 05 10月, 2015 1 次提交
  3. 16 9月, 2015 1 次提交
  4. 11 9月, 2015 1 次提交
  5. 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
  6. 02 8月, 2015 1 次提交
  7. 23 5月, 2015 1 次提交
    • R
      Fix the update target and remove duplicate file updates · 0f539dc1
      Richard Levitte 提交于
      We had updates of certain header files in both Makefile.org and the
      Makefile in the directory the header file lived in.  This is error
      prone and also sometimes generates slightly different results (usually
      just a comment that differs) depending on which way the update was
      done.
      
      This removes the file update targets from the top level Makefile, adds
      an update: target in all Makefiles and has it depend on the depend: or
      local_depend: targets, whichever is appropriate, so we don't get a
      double run through the whole file tree.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      0f539dc1
  8. 16 5月, 2015 2 次提交
  9. 14 5月, 2015 2 次提交
  10. 13 5月, 2015 1 次提交
  11. 05 5月, 2015 1 次提交
  12. 01 5月, 2015 1 次提交
  13. 04 4月, 2015 1 次提交
  14. 02 4月, 2015 1 次提交
  15. 01 4月, 2015 1 次提交
  16. 31 3月, 2015 1 次提交
  17. 26 3月, 2015 7 次提交
  18. 24 3月, 2015 1 次提交
  19. 12 1月, 2015 1 次提交
    • R
      RT478: Add uninstall make target · 9405a9a2
      Rich Salz 提交于
      Add INSTALLDIRS variable, list of directories where things get
      installed. Change install_html_docs to use perl mkdir-p script.
      
      Add uninstall, uninstall_sw, uninstall_docs, uninstall_html_docs
      to Makefile.org.  The actions of these targets were figured out
      by "inverting" the install target.
      
      Recurse into subdirs to do uninstall as needed.  Added uninstall
      targets whose actions were similarly figured out by "inverting"
      the install target.
      
      Also remove some 'space before tab' complaints in Makefile.org
      Reviewed-by: NTim Hudson <tjh@openssl.org>
      9405a9a2
  20. 12 12月, 2014 1 次提交
  21. 04 12月, 2014 1 次提交
  22. 28 11月, 2014 1 次提交
  23. 24 9月, 2014 1 次提交
  24. 29 8月, 2014 1 次提交
  25. 28 8月, 2014 1 次提交
  26. 14 8月, 2014 1 次提交
  27. 25 7月, 2014 1 次提交
    • D
      Add conditional unit testing interface. · e0fc7961
      Dr. Stephen Henson 提交于
      Don't call internal functions directly call them through
      SSL_test_functions(). This also makes unit testing work on
      Windows and platforms that don't export internal functions
      from shared libraries.
      
      By default unit testing is not enabled: it requires the compile
      time option "enable-unit-test".
      Reviewed-by: NGeoff Thorpe <geoff@openssl.org>
      e0fc7961
  28. 30 6月, 2014 1 次提交
  29. 20 5月, 2014 1 次提交
  30. 26 4月, 2014 1 次提交