U should close the output BIO...
If not the output isn't flushed..
Probably you create a 0-length file...
manjunath gv wrote:
>
> hello
>
> im trying to write the private key into the file
> and read back the key . im using
> PEM_read_bio_Privatekey,PEM_write_bio_Privatekey
> im also using pas
hello
im trying to write the private key into the file
and read back the key . im using
PEM_read_bio_Privatekey,PEM_write_bio_Privatekey
im also using password so the key is encrypted and
kept
please see the code . the code is working fine for
writing and problem is i cannot read back the ke