> From: owner-openssl-us...@openssl.org On Behalf Of krishnamurthy
santhanam
> Sent: Thursday, 02 September, 2010 14:17
> To: openssl-users@openssl.org
> Subject: Re: reading and writing into pem file
This message is not about this subject. Please use subject
Hi,
Thanks for your input..it worked for me...i am writing encryption and
decryption using RSA...
#include
#include
#include
#include
#include
#include
RSA * readPubKey(char *filename)
{
RSA *key;
BIO *bp;
ERR_load_crypto_strings();
bp=BIO_new(BIO_s_file());
if (BIO_read_fil
> From: owner-openssl-us...@openssl.org On Behalf Of krishnamurthy
santhanam
> Sent: Tuesday, 31 August, 2010 13:33
> #include
> writekey(RSA *key2)
You're obviously using a C89 (or earlier) compiler or mode.
Snipped most non-I/O steps:
> {
> EVP_PKE