On Thu, Nov 15, 2007, Olavo Belloc wrote:

> 
> Dont matter if I use X509_dup() or i2d/d2i_X509(), It fails. It it a bug?

An X509 structure alocated by X509_new() is not at that point a valid
certificate, several mandatory fields need to be set.

The absence of such fields is causing the failure of those functions.

Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Funding needed! Details on homepage.
Homepage: http://www.drh-consultancy.demon.co.uk
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to