On Thu, Jan 26, 2006, Joe Gluck wrote:

> That is good to know, and I assumed it will hash only once, but I want
> to skip that one time as well, and have the verification done only
> once on  the certificate, and then while my application may run for a
> year, I just want to compare the public key with memcpy even without
> that one time hash, (unless that hash also is done automaticly when
> loading the cert into the X509 before calling the compare function.
> 

It isn't currently always calculated when a certifcate is loaded into an X509
structure but you can call X509_check_purpose(cert, -1, 0) once after it has
been loaded to calculate it.

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
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to