Folks,
I found another way to get this job done. And it is working on all the
versions mentioned.
Instead of using PEM_read_bio_PrivateKey() we used d2i_PrivateKey_bio().
Now the key is not NULL.
Cheers,
Kaushalye
Kaushalye Kapuruge wrote:
Hi folks,
I was trying to read a private key (EVP_PKEY
Hi folks,
I was trying to read a private key (EVP_PKEY)using following test
program. But I found that function
PEM_read_bio_PrivateKey() gives a NULL value for the EVP_PKEY *key.
This happened for openssl version 0.9.8b.
I tested with few other versions of openssl (e.g. 0.9.8c and 0.9.7e) and