1. 24 11月, 2015 1 次提交
  2. 21 11月, 2015 7 次提交
    • M
      Rename start_async_job to ssl_start_async_job · 7fecbf6f
      Matt Caswell 提交于
      Make it clear that this function is ssl specific.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      7fecbf6f
    • M
      Clean up libssl async calls · add2f5ca
      Matt Caswell 提交于
      Tidy up the libssl async calls and make sure all IO functions are covered.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      add2f5ca
    • M
      Fix the error code for SSL_get_async_wait_fd() · 9920a58e
      Matt Caswell 提交于
      0 is a valid file descriptor so SSL_get_async_wait_fd should instead return
      -1 on error.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      9920a58e
    • M
      Remove ASYNC_in_job() · 44a27ac2
      Matt Caswell 提交于
      The ASYNC_in_job() function is redundant. The same effect can be achieved by
      using ASYNC_get_current_job().
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      44a27ac2
    • 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
  3. 20 11月, 2015 1 次提交
  4. 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
  5. 10 11月, 2015 1 次提交
  6. 09 11月, 2015 1 次提交
  7. 08 11月, 2015 1 次提交
  8. 30 10月, 2015 8 次提交
  9. 30 9月, 2015 1 次提交
    • D
      Fix no-stdio build · 984d6c60
      David Woodhouse 提交于
      Much related/similar work also done by
      Ivan Nestlerode <ivan.nestlerode@sonos.com>
      
         +Replace FILE BIO's with dummy ops that fail.
         +Include <stdio.h> for sscanf() even with no-stdio (since the declaration
          is there). We rely on sscanf() to parse the OPENSSL_ia32cap environment
          variable, since it can be larger than a 'long'. And we don't rely on the
          availability of strtoull().
         +Remove OPENSSL_stderr(); not used.
         +Make OPENSSL_showfatal() do nothing (currently without stdio there's
          nothing we can do).
         +Remove file-based functionality from ssl/. The function
          prototypes were already gone, but not the functions themselves.
         +Remove unviable conf functionality via SYS_UEFI
         +Add fallback definition of BUFSIZ.
         +Remove functions taking FILE * from header files.
         +Add missing DECLARE_PEM_write_fp_const
         +Disable X509_LOOKUP_hash_dir(). X509_LOOKUP_file() was already compiled out,
          so remove its prototype.
         +Use OPENSSL_showfatal() in CRYPTO_destroy_dynlockid().
         +Eliminate SRP_VBASE_init() and supporting functions. Users will need to
          build the verifier manually instead.
         +Eliminate compiler warning for unused do_pk8pkey_fp().
         +Disable TEST_ENG_OPENSSL_PKEY.
         +Disable GOST engine as is uses [f]printf all over the place.
         +Eliminate compiler warning for unused send_fp_chars().
      Signed-off-by: NRich Salz <rsalz@akamai.com>
      Reviewed-by: NTim Hudson <tjh@openssl.org>
      984d6c60
  10. 25 9月, 2015 1 次提交
  11. 23 9月, 2015 1 次提交
  12. 17 9月, 2015 1 次提交
  13. 15 9月, 2015 1 次提交
    • D
      Fix PSK identity hint handling. · df6da24b
      Dr. Stephen Henson 提交于
      For server use a PSK identity hint value in the CERT structure which
      is inherited when SSL_new is called and which allows applications to
      set hints on a per-SSL basis. The previous version of
      SSL_use_psk_identity_hint tried (wrongly) to use the SSL_SESSION structure.
      
      PR#4039
      Reviewed-by: NMatt Caswell <matt@openssl.org>
      df6da24b
  14. 11 9月, 2015 1 次提交
  15. 06 9月, 2015 1 次提交
  16. 04 9月, 2015 1 次提交
  17. 03 9月, 2015 1 次提交
  18. 01 9月, 2015 1 次提交
  19. 12 8月, 2015 1 次提交
  20. 30 7月, 2015 1 次提交
  21. 18 7月, 2015 1 次提交
  22. 22 6月, 2015 1 次提交
  23. 15 6月, 2015 1 次提交
  24. 28 5月, 2015 4 次提交