Opps, need to add const in 3 places to change:
void HMAC_CTX_copy(HMAC_CTX *dest, HMAC_CTX *src);
into:
void HMAC_CTX_copy(HMAC_CTX *dest, const HMAC_CTX *src);
For hmac.c, hmac.h and hmac.pod. I can prepare a new patch if necessary.
Darryl Miles wrote:
---
Please review this patch in inclusion in 0.9.8. This patch adds some
new HMAC context functions, maybe the exact naming of the functions
needs some debate to fall into line with the rest of libcrypto.
In a way these patches are necessary to allow application user to do the
following