gang cao wrote:
>
> hi all,
> in x509.c , load_cert(char * file , int format)
> read certificate from a file .
> i need read a certificate from a buf ( unsigned char * ),
> a function like
> static X509 *load_cert(unsigned char *data , int len , int format )
> len is the length of data.
d2i_X509() should do this work provided that you have der-encoded (not pem)
certificate in your buffer
regards,
Vadim
> so i change the following :
>
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]