The version field is offset by one. So, 0=v1, 1=v2, 2=v3

Frans.

On Thu, 2008-08-28 at 12:21 +0530, Madhusudhan reddy wrote:
> Hi All,
>  
>           I am newbie to OpenSSL. I am facing problem verifying root
> certificate version X509V1. While debugging found the signature
> verification is not matching, it is because the calculated hash value
> is not correct for the root certificate. 
>        
>          And observed the version field X509->cert_info->version in
> X509 certificate is NULL. The wrong hash value is because of version
> field? Is something i am missing?
>  
>        I am attaching the root Certificate with the mail.
>  
>        Any help in this is greately appreciated.
>  
> Thanks,
> Madhu
>  


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to