aboutsummaryrefslogtreecommitdiff
path: root/crypto/crypto-lib.com
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>1999-12-17 12:56:24 +0000
committerRichard Levitte <levitte@openssl.org>1999-12-17 12:56:24 +0000
commit9ac42ed8fc915c7447a88c200eda8e2e62fbabb4 (patch)
tree4fb70d006989b8f007db475c6674e0b6b5ffa4f9 /crypto/crypto-lib.com
parent1ad9bdf253c7ce1568abeafd4aa3308bd6ca684c (diff)
downloadopenssl-9ac42ed8fc915c7447a88c200eda8e2e62fbabb4.zip
openssl-9ac42ed8fc915c7447a88c200eda8e2e62fbabb4.tar.gz
openssl-9ac42ed8fc915c7447a88c200eda8e2e62fbabb4.tar.bz2
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.
Diffstat (limited to 'crypto/crypto-lib.com')
-rw-r--r--crypto/crypto-lib.com2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/crypto-lib.com b/crypto/crypto-lib.com
index 6b9ebab..149906e 100644
--- a/crypto/crypto-lib.com
+++ b/crypto/crypto-lib.com
@@ -174,7 +174,7 @@ $!
$ APPS_DES = "DES/DES,CBC3_ENC"
$ APPS_PKCS7 = "ENC/ENC;DEC/DEC;SIGN/SIGN;VERIFY/VERIFY,EXAMPLE"
$
-$ LIB_ = "cryptlib,mem,cversion,ex_data,tmdiff,cpt_err"
+$ LIB_ = "cryptlib,mem,mem_dbg,cversion,ex_data,tmdiff,cpt_err"
$ LIB_MD2 = "md2_dgst,md2_one"
$ LIB_MD5 = "md5_dgst,md5_one"
$ LIB_SHA = "sha_dgst,sha1dgst,sha_one,sha1_one"