test

2009-01-18 Thread Leo, Liangyou Wang (liangwan)
Thanks!

Re: The result of X509_digest is not the correct certificate thumbprint in openssl 0.9.8f

2009-01-18 Thread Anri Lau
Thank you Steve for your kindly clarification. However, I have a concern if the digest of X509_CINF could also be called as certificate thumbprint? Can i find out the defination in any standard document. I try to google it, i did not get any result. 2009/1/18 Dr. Stephen Henson > On Sun, Jan 1

Re: The result of X509_digest is not the correct certificate thumbprint in openssl 0.9.8f

2009-01-18 Thread Dr. Stephen Henson
On Sun, Jan 18, 2009, Anri Lau wrote: > Hi all > > I use the following code piece to create the digest of certificate > > p = *p_key_buf;* > */* get the certificate body as a DER string */ > if ( i2d_X509_CINF(m_x509->cert_info, &p) == 0 ) > { > printf("Ci2d_X509_CINF fai

The result of X509_digest is not the correct certificate thumbprint in openssl 0.9.8f

2009-01-18 Thread Anri Lau
Hi all I use the following code piece to create the digest of certificate p = *p_key_buf;* */* get the certificate body as a DER string */ if ( i2d_X509_CINF(m_x509->cert_info, &p) == 0 ) { printf("Ci2d_X509_CINF failed\n"); return; } length = p - p_key_buf