> 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
Hi,
i had tried to generating the key and writing in the pem file...but it is
giving segmentation fault...without .readprivatekey and readpublickey
functions these is generating pem file...i dont know why?
any knows guide me
#include
#include
#include
#include
RSA *generatersa()
{
RSA *rsa;
rsa