[botan-devel] HMAC deleting HashFunction

Charles Ellis charles at portalusgames.com
Mon Feb 11 21:57:13 EST 2013

Should the HMAC class delete in its destructor the HashFunction pointer
passed into its constructor?

Since HMAC isn't responsible for allocating the HashFunction instance it
seems an unnecessary constraint on users to require that the pointer can be
deallocated with delete. Perhaps just calling clean() on it would be

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.randombit.net/pipermail/botan-devel/attachments/20130211/59cab109/attachment.html>

More information about the botan-devel mailing list