> I'm encrypt a file using RSA_private_encrypt, this work fine.


Actually, you've *signed* the file, not encrypted it. And you've done so
incredibly badly at that.

DS


__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager majordomo@openssl.org