stef wrote:
>
> Hi,
>
> is there s.o. who already encounter problems with "trusted" and normal
> certificate request with 0.9.6 ?
>
> is the trusted and untrusted certificates compatible with this version ?
>
> how create a trusted certificate request in a C code ?
> how to read a not "trusted" certificate request ?
>
> Is it a parameter for the functions PEM_read_X509_REQ and X509_REQ_new ?
>
There's no such thing as a "trusted certificate request". Only
certificates have trust settings.
Wrt your previous message:
> X509_REQ* m_x509Req ;
>
> in code file
>
> FILE* in=fopen(filename,"r");
> if (in == NULL)
> {
> return FALSE;
> }
>
> X509_REQ* x = NULL;
> if (m_x509Req != NULL) X509_REQ_free(m_x509Req);
> if (x != NULL) X509_REQ_free(x);
>
> m_x509Req = PEM_read_X509_REQ(in,x,0,NULL);
>
The parameters to PEM_read_X509_REQ don't make much sense. The second
argument should be of type (X509_REQ **) or preferably NULL. So you
have:
m_x509Req = PEM_read_X509_REQ(in,NULL,0,NULL);
and if this fails you should read the FAQ for finding out how to
diagnose function failure.
Steve.
--
Dr Stephen N. Henson. http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED]
Senior crypto engineer, Celo Communications: http://www.celocom.com/
Core developer of the OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]