Commit 85cbc182 authored by Andy Polyakov's avatar Andy Polyakov
Browse files

hmac/hmac.c: fix sizeof typo in hmac_ctx_cleanup.

parent 5c753de6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -141,7 +141,7 @@ static void hmac_ctx_cleanup(HMAC_CTX *ctx)
    EVP_MD_CTX_reset(ctx->md_ctx);
    ctx->md = NULL;
    ctx->key_length = 0;
    memset(ctx->key, 0, sizeof(HMAC_MAX_MD_CBLOCK));
    OPENSSL_cleanse(ctx->key, sizeof(ctx->key));
}

void HMAC_CTX_free(HMAC_CTX *ctx)