1. 31 1月, 2000 1 次提交
  2. 20 12月, 1999 1 次提交
  3. 18 12月, 1999 2 次提交
    • B
      - Don't assume that int and size_t have the same representation · 0cd08cce
      Bodo Möller 提交于
        (and that malloc can be called with an int argument).
      - Use proper prototypes (with argument list) for various function pointers,
        avoid casts  (however there are still many such cases left in these files).
      - Avoid collissions in app_info_cmp if sizeof int != sizeof long.
      - Use CRYPTO_LOCK_MALLOC in mem_dbg.c.
      0cd08cce
    • R
      - Added more documentation in CHANGES. · f3a2a044
      Richard Levitte 提交于
       - Made CRYPTO_MDEBUG even less used in crypto.h, giving
         MemCheck_start() and MemCheck_stop() only one possible definition.
       - Made the values of the debug function pointers in mem.c dependent
         on the existence of the CRYPTO_MDEBUG macro, and made the rest of
         the code understand the NULL case.
      
      That's it.  With this code, the old behvior of the debug functionality
      is restored, but you can still opt to have it on, even when the
      library wasn't compiled with a defined CRYPTO_MDEBUG.
      f3a2a044
  4. 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
  5. 13 11月, 1999 2 次提交
  6. 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
  7. 19 7月, 1999 3 次提交
  8. 10 7月, 1999 1 次提交
  9. 11 6月, 1999 1 次提交
  10. 08 6月, 1999 1 次提交
  11. 24 4月, 1999 1 次提交
  12. 20 4月, 1999 1 次提交
  13. 18 4月, 1999 1 次提交
  14. 10 4月, 1999 1 次提交
  15. 28 2月, 1999 1 次提交
  16. 21 12月, 1998 3 次提交