1. 01 Jan, 2000 1 commit
  2. 29 Dec, 1999 6 commits
  3. 26 Dec, 1999 2 commits
  4. 25 Dec, 1999 1 commit
  5. 24 Dec, 1999 2 commits
  6. 23 Dec, 1999 1 commit
  7. 22 Dec, 1999 3 commits
  8. 20 Dec, 1999 1 commit
  9. 19 Dec, 1999 5 commits
  10. 18 Dec, 1999 9 commits
    • Bodo Möller's avatar
      Rename · 2b6313d0
      Bodo Möller authored
         CRYPTO_add_info    => CRYPTO_push_info
         CRYPTO_remove_info => CRYPTO_pop_info
      in the hope that these names are more descriptive;
      and "make update".
      2b6313d0
    • Bodo Möller's avatar
      fix typos and other little errors ... · 75acc288
      Bodo Möller authored
      75acc288
    • Bodo Möller's avatar
      - Don't assume that int and size_t have the same representation · 0cd08cce
      Bodo Möller authored
        (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
    • Bodo Möller's avatar
      03c48fa0
    • Richard Levitte's avatar
      - Added more documentation in CHANGES. · f3a2a044
      Richard Levitte authored
       - 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
    • Richard Levitte's avatar
      - Made sure some changed behavior is documented in CHANGES. · d8df48a9
      Richard Levitte authored
       - Moved the handling of compile-time defaults from crypto.h to
         mem_dbg.c, since it doesn't make sense for the library users to try
         to affect this without recompiling libcrypto.
       - Made sure V_CRYPTO_MDEBUG_TIME and V_CRYPTO_MDEBUG_THREAD had clear
         and constant definitions.
       - Aesthetic correction.
      d8df48a9
    • Bodo Möller's avatar
      Point out that openssl-bugs is public. · 78bf1920
      Bodo Möller authored
      78bf1920
    • Bodo Möller's avatar
      Add a comment. · 3db1f2d5
      Bodo Möller authored
      3db1f2d5
    • Bodo Möller's avatar
      Add missing semicolon to make compiler happy, and switch back · e8f48dba
      Bodo Möller authored
      from MemCheck_start() to CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON)
      because that is what applications should use
      (MemCheck_start/stop never really worked for applications
      unless CRYPTO_MDEBUG was defined both when compiling the library
      and when compiling the application, so probably we should
      get rid of it).
      e8f48dba
  11. 17 Dec, 1999 3 commits
    • Richard Levitte's avatar
      Clear out license confusion. · 08807172
      Richard Levitte authored
      08807172
    • Richard Levitte's avatar
      Rebuild of the OpenSSL memory allocation and deallocation routines. · 9ac42ed8
      Richard Levitte authored
      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
    • Richard Levitte's avatar
  12. 16 Dec, 1999 2 commits
  13. 15 Dec, 1999 2 commits
  14. 14 Dec, 1999 2 commits