summaryrefslogtreecommitdiffstats
path: root/src/crypto/hmac/hmac.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/hmac/hmac.c')
-rw-r--r--src/crypto/hmac/hmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/hmac/hmac.c b/src/crypto/hmac/hmac.c
index 556e7f9..d37a249 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(ctx));
+ OPENSSL_cleanse(ctx, sizeof(HMAC_CTX));
}
int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, size_t key_len,