summaryrefslogtreecommitdiffstats
path: root/crypto/ts/ts_verify_ctx.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/ts/ts_verify_ctx.c')
-rw-r--r--crypto/ts/ts_verify_ctx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ts/ts_verify_ctx.c b/crypto/ts/ts_verify_ctx.c
index f328c33053..651b1d1373 100644
--- a/crypto/ts/ts_verify_ctx.c
+++ b/crypto/ts/ts_verify_ctx.c
@@ -63,7 +63,7 @@
TS_VERIFY_CTX *TS_VERIFY_CTX_new(void)
{
- TS_VERIFY_CTX *ctx = OPENSSL_malloc(sizeof(TS_VERIFY_CTX));
+ TS_VERIFY_CTX *ctx = OPENSSL_malloc(sizeof(*ctx));
if (ctx)
memset(ctx, 0, sizeof(TS_VERIFY_CTX));