1. 28 9月, 2019 1 次提交
  2. 19 3月, 2019 1 次提交
  3. 21 2月, 2019 1 次提交
  4. 05 2月, 2019 1 次提交
  5. 17 4月, 2018 1 次提交
  6. 03 4月, 2018 1 次提交
  7. 28 3月, 2018 2 次提交
  8. 18 5月, 2016 1 次提交
  9. 19 2月, 2016 1 次提交
    • R
      Remove outdated DEBUG flags. · d63a5e5e
      Rich Salz 提交于
      Add -DBIO_DEBUG to --strict-warnings.
      Remove comments about outdated debugging ifdef guards.
      Remove md_rand ifdef guarding an assert; it doesn't seem used.
      Remove the conf guards in conf_api since we use OPENSSL_assert, not assert.
      For pkcs12 stuff put OPENSSL_ in front of the macro name.
      Merge TLS_DEBUG into SSL_DEBUG.
      Various things just turned on/off asserts, mainly for checking non-NULL
      arguments, which is now removed: camellia, bn_ctx, crypto/modes.
      Remove some old debug code, that basically just printed things to stderr:
        DEBUG_PRINT_UNKNOWN_CIPHERSUITES, DEBUG_ZLIB, OPENSSL_RI_DEBUG,
        RL_DEBUG, RSA_DEBUG, SCRYPT_DEBUG.
      Remove OPENSSL_SSL_DEBUG_BROKEN_PROTOCOL.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      d63a5e5e
  10. 27 1月, 2016 1 次提交
    • R
      Remove /* foo.c */ comments · 34980760
      Rich Salz 提交于
      This was done by the following
              find . -name '*.[ch]' | /tmp/pl
      where /tmp/pl is the following three-line script:
              print unless $. == 1 && m@/\* .*\.[ch] \*/@;
              close ARGV if eof; # Close file to reset $.
      
      And then some hand-editing of other files.
      Reviewed-by: NViktor Dukhovni <viktor@openssl.org>
      34980760
  11. 01 12月, 2015 1 次提交
  12. 10 11月, 2015 1 次提交
  13. 04 9月, 2015 1 次提交
  14. 24 6月, 2015 1 次提交
  15. 14 5月, 2015 1 次提交
  16. 05 5月, 2015 1 次提交
    • R
      Use safer sizeof variant in malloc · b4faea50
      Rich Salz 提交于
      For a local variable:
              TYPE *p;
      Allocations like this are "risky":
              p = OPENSSL_malloc(sizeof(TYPE));
      if the type of p changes, and the malloc call isn't updated, you
      could get memory corruption.  Instead do this:
              p = OPENSSL_malloc(sizeof(*p));
      Also fixed a few memset() calls that I noticed while doing this.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      b4faea50
  17. 10 2月, 2015 1 次提交
  18. 22 1月, 2015 1 次提交
  19. 06 1月, 2015 1 次提交
  20. 17 12月, 2014 1 次提交
  21. 08 12月, 2014 1 次提交
  22. 19 8月, 2014 1 次提交
  23. 28 1月, 2011 2 次提交
  24. 15 6月, 2009 1 次提交
  25. 30 4月, 2005 1 次提交
  26. 27 4月, 2005 1 次提交
  27. 19 9月, 2004 1 次提交
  28. 20 4月, 2004 1 次提交
  29. 25 3月, 2004 1 次提交
    • G
      Replace the BN_CTX implementation with my current work. I'm leaving the · 5c98b2ca
      Geoff Thorpe 提交于
      little TODO list in there as well as the debugging code (only enabled if
      BN_CTX_DEBUG is defined).
      
      I'd appreciate as much review and testing as can be spared for this. I'll
      commit some changes to other parts of the bignum code shortly to make
      better use of this implementation (no more fixed size limitations). Note
      also that under identical optimisations, I'm seeing a noticable speed
      increase over openssl-0.9.7 - so any feedback to confirm/deny this on other
      systems would also be most welcome.
      5c98b2ca
  30. 14 3月, 2004 1 次提交
  31. 09 3月, 2004 1 次提交
    • G
      More changes coming out of the bignum auditing. BN_CTX_get() should ideally · e7716b7a
      Geoff Thorpe 提交于
      return a "zero" bignum as BN_new() does - so reset 'top'. During
      BN_CTX_end(), released bignums should be consistent so enforce this in
      debug builds. Also, reduce the number of wasted BN_clear_free() calls from
      BN_CTX_end() (typically by 75% or so).
      
      Submitted by: Nils Larsch
      Reviewed by: Geoff Thorpe, Ulf Möller
      e7716b7a
  32. 05 11月, 2003 1 次提交
  33. 30 10月, 2003 2 次提交
    • G
      When a BN_CTX is used for temporary workspace, the variables are sometimes · 5f747c7f
      Geoff Thorpe 提交于
      left in an inconsistent state when they are released for later reuse. This
      change resets the BIGNUMs when they are released back to the context.
      5f747c7f
    • G
      BN_CTX is opaque and the static initialiser BN_CTX_init() is not used · 2ce90b9b
      Geoff Thorpe 提交于
      except internally to the allocator BN_CTX_new(), as such this deprecates
      the use of BN_CTX_init() in the API. Moreover, the structure definition of
      BN_CTX is taken out of bn_lcl.h and moved into bn_ctx.c itself.
      
      NDEBUG should probably only be "forced" in the top-level configuration, but
      until it is I will avoid removing it from bn_ctx.c which might surprise
      people with massive slow-downs in their keygens. So I've left it in
      bn_ctx.c but tidied up the preprocessor logic a touch and made it more
      tolerant of debugging efforts.
      2ce90b9b
  34. 08 3月, 2001 1 次提交
  35. 08 11月, 2000 1 次提交
  36. 02 6月, 2000 1 次提交
    • R
      There have been a number of complaints from a number of sources that names · 26a3a48d
      Richard Levitte 提交于
      like Malloc, Realloc and especially Free conflict with already existing names
      on some operating systems or other packages.  That is reason enough to change
      the names of the OpenSSL memory allocation macros to something that has a
      better chance of being unique, like prepending them with OPENSSL_.
      
      This change includes all the name changes needed throughout all C files.
      26a3a48d
  37. 06 2月, 2000 1 次提交