From: "Dror" <[EMAIL PROTECTED]>

drorotmi> I know there are the debug callbacks and CRYPTO_dbg_xxx 
drorotmi> functions one could use for workaround but still, as a window 
drorotmi> programmer, I find the memory handling of the CRT library very 
drorotmi> comfortable.

So, what you want to do is callbacks that are really wrappers around
the CRT library functions.  Oh, and instead of hacking in mem.c, you
really want to do the following somewher at the start of your application:

       CRYPTO_set_mem_debug_functions(
                mydebug_malloc,
                mydebug_realloc,
                mydebug_free,
                NULL, NULL);

(The two last are, of course, unless you want to be able to set and
get option bits).

When you write those callbacks, do not forget to check
is_MemCheck_on().

-- 
Richard Levitte   \ Spannvägen 38, II \ [EMAIL PROTECTED]
Chairman@Stacken   \ S-168 35  BROMMA  \ T: +46-8-26 52 47
Redakteur@Stacken   \      SWEDEN       \ or +46-709-50 36 10
Procurator Odiosus Ex Infernis                -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/
Software Engineer, Celo Communications: http://www.celocom.com/

Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to