Small fix to hmac code.