1. 24 5月, 2016 1 次提交
  2. 23 5月, 2016 1 次提交
  3. 22 5月, 2016 1 次提交
  4. 21 5月, 2016 1 次提交
    • M
      Fix Windows 64 bit crashes · fcb318c6
      Matt Caswell 提交于
      The function InitOnceExceuteOnce is the best way to support the
      implementation of CRYPTO_THREAD_run_once() on Windows. Unfortunately
      WinXP doesn't have it. To get around that we had two different
      implementations: one for WinXP and one for later versions. Which one was
      used was based on the value of _WIN32_WINNT.
      
      This approach was starting to cause problems though because other parts of
      OpenSSL assume _WIN32_WINNT is going to be 0x0501 and crashes were
      occurring dependant on include file ordering. In addition a conditional
      based on _WIN32_WINNT had made its way into a public header file through
      commit 5c4328f0. This is problematic because the value of this macro can
      vary between OpenSSL build time and application build time.
      
      The simplest solution to this mess is just to always use the WinXP version
      of CRYPTO_THREAD_run_once(). Its perhaps slightly sub-optimal but probably
      not noticably.
      
      GitHub Issue #1086
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      fcb318c6
  5. 20 5月, 2016 1 次提交
    • R
      Rename lh_xxx,sk_xxx tp OPENSSL_{LH,SK}_xxx · 739a1eb1
      Rich Salz 提交于
      Rename sk_xxx to OPENSSL_sk_xxx and _STACK to OPENSSL_STACK
      Rename lh_xxx API to OPENSSL_LH_xxx and LHASH_NODE to OPENSSL_LH_NODE
      Make lhash stuff opaque.
      Use typedefs for function pointers; makes the code simpler.
      Remove CHECKED_xxx macros.
      Add documentation; remove old X509-oriented doc.
      Add API-compat names for entire old API
      Reviewed-by: NDr. Stephen Henson <steve@openssl.org>
      739a1eb1
  6. 19 5月, 2016 6 次提交
  7. 18 5月, 2016 5 次提交
  8. 17 5月, 2016 2 次提交
  9. 16 5月, 2016 4 次提交
  10. 13 5月, 2016 2 次提交
  11. 11 5月, 2016 1 次提交
  12. 10 5月, 2016 1 次提交
  13. 09 5月, 2016 2 次提交
  14. 07 5月, 2016 1 次提交
  15. 06 5月, 2016 1 次提交
    • M
      Handle no async jobs in libssl · fc7f190c
      Matt Caswell 提交于
      If the application has limited the size of the async pool using
      ASYNC_init_thread() then we could run out of jobs while trying to start a
      libssl io operation. However libssl was failing to handle this and treating
      it like a fatal error. It should not be fatal...we just need to retry when
      there are jobs available again.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      fc7f190c
  16. 04 5月, 2016 1 次提交
  17. 03 5月, 2016 1 次提交
    • T
      Secure memory fixes · e8408681
      Todd Short 提交于
      Fix some of the variables to be (s)size_t, so that more than 1GB of
      secure memory can be allocated. The arena has to be a power of 2, and
      2GB fails because it ends up being a negative 32-bit signed number.
      
      The |too_late| flag is not strictly necessary; it is easy to figure
      out if something is secure memory by looking at the arena. As before,
      secure memory allocations will not fail, but now they can be freed
      correctly. Once initialized, secure memory can still be used, even if
      allocations occured before initialization.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      e8408681
  18. 30 4月, 2016 5 次提交
  19. 29 4月, 2016 3 次提交