Hi,

first some code...

CryptoPP::RSA::PublicKey *pubKey = new CryptoPP::RSA::PublicKey;
pubKey->->Initialize( rsa_n, rsa_e );

//vcl memory leak supposed here
CryptoPP::RSAES_PKCS1v15_Encryptor rsa(*pubKey);

rsa.Encrypt();
delete pubKey; //destructor


gives me a memory leak with "Visual Leak Detector".
Data:
    63 6C 61 73    73 20 43 72    79 70 74 6F    50 50 3A 3A     
    52 53 41 46    75 6E 63 74    69 6F 6E 00                               
class.CryptoPP::RSAFunction.....

Why? The code works fine.


Regards
v

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [EMAIL PROTECTED]
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---

Reply via email to