diff options
Diffstat (limited to 'src/lib/libcrypto/cms/cms_cd.c')
-rw-r--r-- | src/lib/libcrypto/cms/cms_cd.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ | |||
1 | /* $OpenBSD: cms_cd.c,v 1.14 2019/08/11 10:38:27 jsing Exp $ */ | 1 | /* $OpenBSD: cms_cd.c,v 1.15 2019/08/11 11:04:18 jsing Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
4 | * project. | 4 | * project. |
@@ -84,7 +84,7 @@ cms_CompressedData_create(int comp_nid) | |||
84 | if (cms == NULL) | 84 | if (cms == NULL) |
85 | return NULL; | 85 | return NULL; |
86 | 86 | ||
87 | cd = M_ASN1_new_of(CMS_CompressedData); | 87 | cd = (CMS_CompressedData *)ASN1_item_new(&CMS_CompressedData_it); |
88 | 88 | ||
89 | if (cd == NULL) | 89 | if (cd == NULL) |
90 | goto err; | 90 | goto err; |