1. 07 5月, 2001 1 次提交
  2. 22 2月, 2001 1 次提交
  3. 20 2月, 2001 1 次提交
    • R
      Make all configuration macros available for application by making · cf1b7d96
      Richard Levitte 提交于
      sure they are available in opensslconf.h, by giving them names starting
      with "OPENSSL_" to avoid conflicts with other packages and by making
      sure e_os2.h will cover all platform-specific cases together with
      opensslconf.h.
      
      I've checked fairly well that nothing breaks with this (apart from
      external software that will adapt if they have used something like
      NO_KRB5), but I can't guarantee it completely, so a review of this
      change would be a good thing.
      cf1b7d96
  4. 14 2月, 2001 1 次提交
  5. 10 1月, 2001 3 次提交
  6. 09 1月, 2001 1 次提交
  7. 07 11月, 2000 1 次提交
  8. 27 10月, 2000 1 次提交
  9. 07 9月, 2000 1 次提交
  10. 01 8月, 2000 1 次提交
  11. 20 6月, 2000 1 次提交
  12. 19 6月, 2000 1 次提交
  13. 18 6月, 2000 1 次提交
    • R
      Add support for dynamically created and destroyed mutexes. This will · c7922304
      Richard Levitte 提交于
      be needed in some ENGINE code, and might serve elsewhere as well.
      Note that it's implemented in such a way that the locking itself is
      done through the same CRYPTO_lock function as the static locks.
      
      WARNING: This is currently experimental and untested code (it will get
      tested soon, though :-)).
      c7922304
  14. 17 6月, 2000 1 次提交
    • D
      Safe stack reorganisation in terms of function casts. · 3aceb94b
      Dr. Stephen Henson 提交于
      After some messing around this seems to work but needs
      a few more tests. Working out the syntax for sk_set_cmp_func()
      (cast it to a function that itself returns a function pointer)
      was painful :-(
      
      Needs some testing to see what other compilers think of this
      syntax.
      
      Also needs similar stuff for ASN1_SET_OF etc etc.
      3aceb94b
  15. 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
  16. 01 6月, 2000 3 次提交
  17. 31 5月, 2000 1 次提交
  18. 16 5月, 2000 1 次提交
  19. 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
  20. 05 4月, 2000 1 次提交
    • G
      This commit ties the new DSO code (crypto/dso/) into the build for a · 9ec0126e
      Geoff Thorpe 提交于
      variety of platforms. A few are missing, and they will be added in
      eventually, but as this is new stuff, it was better to not break lots of
      platforms in one go that we can't easily test. The changes to "Configure"
      should illustrate how to add support to other systems if you feel like
      having a go.
      
      NB: I'll add something shortly to allow you to add "dlfcn.h" support on
      those platforms that don't have (or need) a dlfcn.h header file. (The
      symbol for Configure will probably by "dlfcn_no_h").
      
      Thanks to Richard Levitte, who is responsible for the dso_dl.c support,
      understanding the trickier aspects of the build process, and giving great
      feedback on everything else.
      
      [Don't use this stuff if you're easily offended by changes to the
      interface or behaviour - it's still work in progress.]
      
      PR:
      9ec0126e
  21. 26 2月, 2000 1 次提交
  22. 11 2月, 2000 1 次提交
  23. 31 1月, 2000 1 次提交
  24. 24 1月, 2000 1 次提交
    • D
      · dd9d233e
      Dr. Stephen Henson 提交于
      Tidy up CRYPTO_EX_DATA structures.
      dd9d233e
  25. 07 1月, 2000 1 次提交
  26. 03 1月, 2000 1 次提交
  27. 18 12月, 1999 5 次提交
    • B
      Rename · 2b6313d0
      Bodo Möller 提交于
         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
    • B
      fix typos and other little errors ... · 75acc288
      Bodo Möller 提交于
      75acc288
    • 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
    • R
      - Made sure some changed behavior is documented in CHANGES. · d8df48a9
      Richard Levitte 提交于
       - 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
  28. 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
  29. 12 11月, 1999 1 次提交
    • 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
  30. 24 8月, 1999 1 次提交
  31. 19 7月, 1999 2 次提交