"Gustavo T. Costa" wrote:
>
> Hello.
>
> I'm trying to validate a X509 certificate using the code below. I tried
> several certificates, some generated by openssl and some generated by other
> CAs. In all cases I receive the same error (erro code # 7, which is defined
> as X509_V_ERR_CERT_SIGNATURE_FAILURE).
>
> I know the certificates are valid (as they are accepted by other CAs)
> and thus, I'd like to know if anyone can help me finding what is wrong in
> the code below. Any help will be greatly appreciated.
>
Read the FAQ. You haven't included OpenSSL_add_all_algorithms().
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]