Hi all!!
 
I have a little problem using EVP_PKEY_free() function. This crash my program.
 
I'm making something like this in my source code:
--------------------------------
EVP_PKEY *key=NULL;
RSA *rsa=NULL;
 
key=EVP_PKEY_new();
EVP_PKEY_assign_RSA (key, rsa);
// ..... other code here .....
 
EVP_PKEY_free(key); // <- This breaks my program ...
--------------------------------
 
If I omit EVP_PKEY_free(), my app finishes ok ... but if I don't made this could become in memory leak???
 
I Can't omit the EVP_PKEY_new() line .... so, what do I'm making wrong??
 
Thanks in advance
Zainos
 
 
 



Do You Yahoo!?
Yahoo! Net: La mejor conexión a internet y 25MB extra a tu correo por $100 al mes.

Reply via email to