Signed-off-by: Dmitry Eremin-Solenikov dbaryshkov@gmail.com --- hmac-md5.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hmac-md5.c b/hmac-md5.c index a27e64f6f61b..01670af88f2d 100644 --- a/hmac-md5.c +++ b/hmac-md5.c @@ -41,7 +41,7 @@ void hmac_md5_set_key(struct hmac_md5_ctx *ctx, size_t key_length, const uint8_t *key) { - HMAC_SET_KEY(ctx, &nettle_md5, key_length, key); + HMAC2_SET_KEY(ctx, &nettle_md5, key_length, key); }
void @@ -55,5 +55,5 @@ void hmac_md5_digest(struct hmac_md5_ctx *ctx, size_t length, uint8_t *digest) { - HMAC_DIGEST(ctx, &nettle_md5, length, digest); + HMAC2_DIGEST(ctx, &nettle_md5, length, digest); }