RE: reading and writing into pem file

2010-09-03 Thread Dave Thompson
> 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

Re: reading and writing into pem file

2010-09-02 Thread krishnamurthy santhanam
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

RE: reading and writing into pem file

2010-08-31 Thread Dave Thompson
> 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