Stefan Richter wrote: > Hi all, > > i have a problem with the PKCS12_gen_mac() which is called from within > PKCS12_verify_mac(). > I've a function which extracts the private key from a PKCS#12 file. If I > call it once all is fine, but if I call it twice (with the same or another > PKCS#12 file) the second run fails calling PKCS12_verify_mac().
Err - and the error is? Incidentally: > *lpPrivateKeyOutLen = (*(((*((*p8).pkey)).value).asn1_string)).length; *lpPrivateKeyOutLen = p8->pkey->value->asn1_string->length; surely? Cheers, Ben. -- http://www.apache-ssl.org/ben.html http://www.thebunker.net/ "There is no limit to what a man can do or how far he can go if he doesn't mind who gets the credit." - Robert Woodruff ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]