diff options
author | jsing <> | 2019-08-11 11:04:18 +0000 |
---|---|---|
committer | jsing <> | 2019-08-11 11:04:18 +0000 |
commit | aef380380727e6005f045b926db17dc65d46e675 (patch) | |
tree | 9e89724f288806b16eaed0d3d50667bcb47ddbc3 /src/lib/libcrypto/cms/cms_cd.c | |
parent | 8e1a02b0b1470213ac669256827ac9f393aaa8a7 (diff) | |
download | openbsd-aef380380727e6005f045b926db17dc65d46e675.tar.gz openbsd-aef380380727e6005f045b926db17dc65d46e675.tar.bz2 openbsd-aef380380727e6005f045b926db17dc65d46e675.zip |
Expand M_ASN1_new_of and M_ASN1_free_of macros.
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; |