1. 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
  2. 02 5月, 2000 1 次提交
    • R
      In Message-ID: <003201bfb332$14a07520$0801a8c0@janm.transactionsite.com>, · 65962686
      Richard Levitte 提交于
      "Jan Mikkelsen" <janm@transactionsite.com> correctly states that the
      OpenSSL header files have #include's and extern "C"'s in an incorrect
      order.  Thusly fixed.
      
      Also, make the memory debugging routines defined and declared with
      prototypes, and use void* instead of char* for memory blobs.
      
      And last of all, redo the ugly callback construct for elegance and
      better definition (with prototypes).
      65962686
  3. 18 3月, 2000 1 次提交
  4. 11 2月, 2000 1 次提交
  5. 31 1月, 2000 1 次提交
  6. 23 1月, 2000 1 次提交
  7. 18 1月, 2000 1 次提交
    • R
      Compaq C 6.2 for VMS will complain when we want to convert · a9188d4e
      Richard Levitte 提交于
      non-function pointers to function pointers and vice versa.
      The current solution is to have unions that describe the
      conversion we want to do, and gives us the ability to extract
      the type of data we want.
      
      The current solution is a quick fix, and can probably be made
      in a more general or elegant way.
      a9188d4e
  8. 15 1月, 2000 2 次提交
  9. 18 12月, 1999 5 次提交
  10. 17 12月, 1999 1 次提交
    • R
      Rebuild of the OpenSSL memory allocation and deallocation routines. · 9ac42ed8
      Richard Levitte 提交于
      With this change, the following is provided and present at all times
      (meaning CRYPTO_MDEBUG is no longer required to get this functionality):
      
        - hooks to provide your own allocation and deallocation routines.
          They have to have the same interface as malloc(), realloc() and
          free().  They are registered by calling CRYPTO_set_mem_functions()
          with the function pointers.
      
        - hooks to provide your own memory debugging routines.  The have to
          have the same interface as as the CRYPTO_dbg_*() routines.  They
          are registered by calling CRYPTO_set_mem_debug_functions() with
          the function pointers.
      
      I moved everything that was already built into OpenSSL and did memory
      debugging to a separate file (mem_dbg.c), to make it clear what is
      what.
      
      With this, the relevance of the CRYPTO_MDEBUG has changed.  The only
      thing in crypto/crypto.h that it affects is the definition of the
      MemCheck_start and MemCheck_stop macros.
      9ac42ed8
  11. 13 11月, 1999 2 次提交
  12. 12 11月, 1999 2 次提交
    • R
    • R
      Two changes have been made: · 1f575f1b
      Richard Levitte 提交于
        1. Added code to the memory leak detecting code to give the user the
           possibility to add information, thereby forming a traceback.
      
        2. Make the memory leak detecting code multithread-safe.
      
      The idea is that we're actually dealing with two separate critical
      sections, one containing the hash tables with the information, the
      other containing the current memory checking mode.  Those should not
      be handled with the same lock, especially since their handling overlap.
      Hence, the added second lock.
      1f575f1b
  13. 19 7月, 1999 3 次提交
  14. 10 7月, 1999 1 次提交
  15. 11 6月, 1999 1 次提交
  16. 08 6月, 1999 1 次提交
  17. 24 4月, 1999 1 次提交
  18. 20 4月, 1999 1 次提交
  19. 18 4月, 1999 1 次提交
  20. 10 4月, 1999 1 次提交
  21. 28 2月, 1999 1 次提交
  22. 21 12月, 1998 3 次提交