HMAC API usage problem, HMAC_Init_ex() destroys my stack

2006-06-20 Thread Darryl Miles
I have some code what was originally doing: HMAC_CTX ctx; HMAC_Init(ctx, key, keylen, EVP_md5()); HHAC_Update(ctx, data, datalen); HHAC_Update(ctx, moredata, moredatalen); HMAC_Final(ctx, digest, digestlen); This seems to work fine and valgrind indicates there are no memory leaks, i.e.

Re: HMAC API usage problem, HMAC_Init_ex() destroys my stack

2006-06-20 Thread Darryl Miles
Dow! Ignore my post. My system openssl/hmac.h and the one of openssl-0.9.8b I am using have different sized structures and part of my code (a sub-library) wasn't building against it. Probably Fedora removing legally problematic code. Darryl