On 08/08/2011 03:22 PM, Steve Ellcey wrote:
> Oh, so after I declare md5, I call md5_finish_ctx like: 
> 
>       md5_finish_ctx (&md5.ctx, md5.checksum);
> 
> Is that what you are proposing?  It seems a bit odd to put checksum in a
> a structure with ctx just to guarantee its alignment and not to pass
> them around as one entity, but I guess it's no worse then using a union.

Yes, that's what I'm proposing.


r~

Reply via email to