Using the nothrow form of new maybe an idea.

> -----Original Message-----
> From: Richard Levitte - VMS Whacker [mailto:[EMAIL PROTECTED]]
> Sent: 10 January 2002 14:51
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: CRYPTO_malloc_init()
> 
> 
> From: [EMAIL PROTECTED] (robert)
> 
> robert> Will CRYPTO_mallic_init() set the memory allocation methods if
> robert> i use C++ new() &  delete()?
> 
> You mean you awnt to do something like this?
> 
>       CRYPTO_malloc_init(&new, NULL, &delete);
> 
> That won't work.  new and delete are not functions, they are
> statements.  However, it should be perfectly possible to wrap them in
> functions of your own, and use those functions.  Beware of exceptions.
> 
> -- 
> Richard Levitte   \ Spannvägen 38, II \ [EMAIL PROTECTED]
> Redakteur@Stacken  \ S-168 35  BROMMA  \ T: +46-8-26 52 47
>                     \      SWEDEN       \ or +46-733-72 88 11
> Procurator Odiosus Ex Infernis                -- [EMAIL PROTECTED]
> Member of the OpenSSL development team: http://www.openssl.org/
> Software Engineer, GemPlus:             http://www.gemplus.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
> User Support Mailing List                    [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]
> 
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]


Reply via email to