1. 21 11月, 2015 3 次提交
    • 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
  2. 20 11月, 2015 1 次提交
  3. 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
  4. 10 11月, 2015 1 次提交
  5. 09 11月, 2015 1 次提交
  6. 08 11月, 2015 1 次提交
  7. 30 10月, 2015 8 次提交
  8. 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
  9. 25 9月, 2015 1 次提交
  10. 23 9月, 2015 1 次提交
  11. 17 9月, 2015 1 次提交
  12. 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
  13. 11 9月, 2015 1 次提交
  14. 06 9月, 2015 1 次提交
  15. 04 9月, 2015 1 次提交
  16. 03 9月, 2015 1 次提交
  17. 01 9月, 2015 1 次提交
  18. 12 8月, 2015 1 次提交
  19. 30 7月, 2015 1 次提交
  20. 18 7月, 2015 1 次提交
  21. 22 6月, 2015 1 次提交
  22. 15 6月, 2015 1 次提交
  23. 28 5月, 2015 4 次提交
  24. 23 5月, 2015 2 次提交
    • M
      Fix typo setting up certificate masks · fdfe8b06
      Matt Caswell 提交于
      The certificate masks are used to select which ciphersuite we are going to
      use. The variables |emask_k| and |emask_a| relate to export grade key
      exchange and authentication respecitively. The variables |mask_k| and
      |mask_a| are the equivalent versions for non-export grade. This fixes an
      instance where the two usages of export/non-export were mixed up. In
      practice it makes little difference since it still works!
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      fdfe8b06
    • M
      Remove support for OPENSSL_NO_TLSEXT · e481f9b9
      Matt Caswell 提交于
      Given the pervasive nature of TLS extensions it is inadvisable to run
      OpenSSL without support for them. It also means that maintaining
      the OPENSSL_NO_TLSEXT option within the code is very invasive (and probably
      not well tested). Therefore it is being removed.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      e481f9b9
  25. 19 5月, 2015 3 次提交