summaryrefslogtreecommitdiffstats
path: root/crypto/x509v3/v3_scts.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/x509v3/v3_scts.c')
-rw-r--r--crypto/x509v3/v3_scts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509v3/v3_scts.c b/crypto/x509v3/v3_scts.c
index 2bbc05655b..31e610d434 100644
--- a/crypto/x509v3/v3_scts.c
+++ b/crypto/x509v3/v3_scts.c
@@ -203,7 +203,7 @@ static STACK_OF(SCT) *d2i_SCT_LIST(STACK_OF(SCT) **a,
goto err;
listlen -= sctlen;
- sct = OPENSSL_malloc(sizeof(SCT));
+ sct = OPENSSL_malloc(sizeof(*sct));
if (!sct)
goto err;
if (!sk_SCT_push(sk, sct)) {