diff --git a/mz_crypt_openssl.c b/mz_crypt_openssl.c index 04b93521..de019a2b 100644 --- a/mz_crypt_openssl.c +++ b/mz_crypt_openssl.c @@ -348,6 +348,7 @@ void mz_crypt_hmac_reset(void *handle) mz_crypt_hmac *hmac = (mz_crypt_hmac *)handle; HMAC_CTX_free(hmac->ctx); + hmac->ctx = NULL; hmac->error = 0;