]> git.ipfire.org Git - thirdparty/openssl.git/commit - CHANGES
Rebuild of the OpenSSL memory allocation and deallocation routines.
authorRichard Levitte <levitte@openssl.org>
Fri, 17 Dec 1999 12:56:24 +0000 (12:56 +0000)
committerRichard Levitte <levitte@openssl.org>
Fri, 17 Dec 1999 12:56:24 +0000 (12:56 +0000)
commit9ac42ed8fc915c7447a88c200eda8e2e62fbabb4
tree4fb70d006989b8f007db475c6674e0b6b5ffa4f9
parent1ad9bdf253c7ce1568abeafd4aa3308bd6ca684c
Rebuild of the OpenSSL memory allocation and deallocation routines.
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.
CHANGES
crypto/Makefile.ssl
crypto/crypto-lib.com
crypto/crypto.h
crypto/mem.c
crypto/mem_dbg.c [new file with mode: 0644]