Hi, I was using PEM_read_bio_PrivateKey( ) in part of the code to
read .PFX certificates.
The #define for the function is calling PEM_ASN1_read_bio() with
'd2i_PrivateKey' for the d2i parameter.
But with OpenSSL 0.9.7 , the PEM_ASN1_read_bio() function doesn't
support d2i_PrivateKey, and I guess it expects either d2i_RSAPrivateKey
or d2i_DSAPrivateKey to be called directly.
Does it mean that my application needs to add whatever code
was earlier being executed in the PEM_ASN1_read_bio() function
to choose either of these functions ?
Any inputs would be really helpful.
Also, if somebody can provide any working code snippet to read the
.PFX functions before calling SSL_connect() , kindly help.
regards,
Sukhdeep
|
- PEM_ASN1_read_bio() change in 0.9.7 Sukhdeep Johar
- Re: PEM_ASN1_read_bio() change in 0.9.7 Dr. Stephen Henson