diff options
Diffstat (limited to 'src/crypto/hmac/hmac.c')
-rw-r--r-- | src/crypto/hmac/hmac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/hmac/hmac.c b/src/crypto/hmac/hmac.c index d37a249..556e7f9 100644 --- a/src/crypto/hmac/hmac.c +++ b/src/crypto/hmac/hmac.c @@ -97,7 +97,7 @@ void HMAC_CTX_cleanup(HMAC_CTX *ctx) { EVP_MD_CTX_cleanup(&ctx->i_ctx); EVP_MD_CTX_cleanup(&ctx->o_ctx); EVP_MD_CTX_cleanup(&ctx->md_ctx); - OPENSSL_cleanse(ctx, sizeof(HMAC_CTX)); + OPENSSL_cleanse(ctx, sizeof(ctx)); } int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, size_t key_len, |