Thanks a lot,
a "cert=X509_new()" was missing!
I can now load the certif with the second method,
the first one still crashes!
--
View this message in context:
http://www.nabble.com/Read-a-PEM-tp21056958p21091823.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.
___
My version of OpenSSL is the last (0_9_8i).
--
View this message in context:
http://www.nabble.com/Read-a-PEM-tp21056958p21072435.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.
__
OpenSSL Project
I try to read the name like that:
X509_NAME * name=NULL;
name=X509_get_subject_name(cert);
Anderror!!!
:confused:
Moribius wrote:
>
> Hi every body.
>
> I need some help because I'm trying to read a PEM file using PEM_read_X509
> function,
> it's co
Hi every body.
I need some help because I'm trying to read a PEM file using PEM_read_X509
function,
it's compiling but crash on this function when I execute the code.
This code is very simple and I don't understand what is the problem!
int main (int argc, char * * argv)
{
FILE *fp;