diff --git a/nx/source/crypto/hmac.c b/nx/source/crypto/hmac.c index 2cd7a2e2..64d314a3 100644 --- a/nx/source/crypto/hmac.c +++ b/nx/source/crypto/hmac.c @@ -12,6 +12,7 @@ #define HMAC_CONTEXT_CREATE(cipher) \ /* Clear key. */ \ memset(out->key, 0, sizeof(out->key)); \ + out->finalized = false; \ \ /* Either hash the key into the context, or copy it directly if possible. */ \ if (key_size <= sizeof(out->key)) { \