1. 21 11月, 2015 4 次提交
    • M
      Initial Async notify code changes · f4da39d2
      Matt Caswell 提交于
      Initial API implemented for notifying applications that an ASYNC_JOB
      has completed. Currently only s_server is using this. The Dummy Async
      engine "cheats" in that it notifies that it has completed *before* it
      pauses the job. A normal async engine would not do that.
      
      Only the posix version of this has been implemented so far, so it will
      probably fail to compile on Windows at the moment.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      f4da39d2
    • M
      Async clean ups · 82676094
      Matt Caswell 提交于
      Removed the function ASYNC_job_is_waiting() as it was redundant. The only
      time user code has a handle on a job is when one is waiting, so all they
      need to do is check whether the job is NULL. Also did some cleanups to
      make sure the job really is NULL after it has been freed!
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      82676094
    • M
      Make libssl async aware · 07bbc92c
      Matt Caswell 提交于
      The following entry points have been made async aware:
      SSL_accept
      SSL_read
      SSL_write
      
      Also added is a new mode - SSL_MODE_ASYNC. Calling the above functions with
      the async mode enabled will initiate a new async job. If an async pause is
      encountered whilst executing the job (such as for example if using SHA1/RSA
      with the Dummy Async engine), then the above functions return with
      SSL_WANT_ASYNC. Calling the functions again (with exactly the same args
      as per non-blocking IO), will resume the job where it left off.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      07bbc92c
    • M
      Fix uninitialised variable · ba4f1331
      Matt Caswell 提交于
      The al variable could be uninitialised in an error path.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      ba4f1331
  2. 20 11月, 2015 1 次提交
  3. 19 11月, 2015 1 次提交
  4. 17 11月, 2015 2 次提交
  5. 14 11月, 2015 4 次提交
  6. 11 11月, 2015 1 次提交
    • M
      Fix SSL_use_certificate_chain_file · a974e64a
      Matt Caswell 提交于
      The new function SSL_use_certificate_chain_file was always crashing in
      the internal function use_certificate_chain_file because it would pass a
      NULL value for SSL_CTX *, but use_certificate_chain_file would
      unconditionally try to dereference it.
      Reviewed-by: NStephen Henson <steve@openssl.org>
      a974e64a
  7. 10 11月, 2015 2 次提交
  8. 09 11月, 2015 1 次提交
  9. 08 11月, 2015 2 次提交
  10. 06 11月, 2015 3 次提交
  11. 05 11月, 2015 2 次提交
  12. 02 11月, 2015 3 次提交
  13. 30 10月, 2015 14 次提交