From aef380380727e6005f045b926db17dc65d46e675 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Sun, 11 Aug 2019 11:04:18 +0000 Subject: Expand M_ASN1_new_of and M_ASN1_free_of macros. --- src/lib/libcrypto/cms/cms_cd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/libcrypto/cms/cms_cd.c') diff --git a/src/lib/libcrypto/cms/cms_cd.c b/src/lib/libcrypto/cms/cms_cd.c index 752c808c65..ec67cf11f7 100644 --- a/src/lib/libcrypto/cms/cms_cd.c +++ b/src/lib/libcrypto/cms/cms_cd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cms_cd.c,v 1.14 2019/08/11 10:38:27 jsing Exp $ */ +/* $OpenBSD: cms_cd.c,v 1.15 2019/08/11 11:04:18 jsing Exp $ */ /* * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project. @@ -84,7 +84,7 @@ cms_CompressedData_create(int comp_nid) if (cms == NULL) return NULL; - cd = M_ASN1_new_of(CMS_CompressedData); + cd = (CMS_CompressedData *)ASN1_item_new(&CMS_CompressedData_it); if (cd == NULL) goto err; -- cgit v1.2.3-55-g6feb