Adding info from Steve on how to do this on one go and reclosing this ticket:
On 25/11/14 16:02, Dr. Stephen Henson wrote: > I'm curious: I've not seen the private key version before, where is it used? > > You can actually perform the encode and digest operation all in one go using > the ASN1_item_digest function. Something like this should work: > > rv = ASN1_item_digest(ASN1_ITEM_rptr(RSAPublicKey), mdtype, rsa, > md, &mdlen); ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager majord...@openssl.org