Yeah I rectified it . Sorry I forgot to have u guys posted... :) Actually this should be the private key. Not the public key.
RSA_size(prvKey->pkey.rsa) Really appreciate Ur help, Kaushalye Marek Marcola wrote:
Hello, Change: strlen((char*)encrypted) to: RSA_size(pubKey->pkey.rsa) Best regards,
______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]