Hi,

The function PEM_read_bio_X509 always create a Segmentatio Fault.

Code:
string certificateFile =
"/home/norm/Desktop/tmp/SSLServer_RootCertificate.pem";
X509* cert;
BIO* bio_cert = BIO_new_file(certificateFile.c_str(), "rb");
PEM_read_bio_X509(bio_cert, &cert, NULL, NULL);

Any idea whats causing the problem ?  I tryed it on linux and also on
windows xp...same problem.


-- 
View this message in context: 
http://www.nabble.com/PEM_read_bio_X509---Segmentation-fault-tp20900358p20900358.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to