Lines Matching defs:cms
1 /* crypto/cms/cms_cd.c */
59 #include <openssl/cms.h>
70 /* CMS CompressedData Utilities */
74 CMS_ContentInfo *cms;
85 cms = CMS_ContentInfo_new();
86 if (!cms)
94 cms->contentType = OBJ_nid2obj(NID_id_smime_ct_compressedData);
95 cms->d.compressedData = cd;
105 return cms;
109 if (cms)
110 CMS_ContentInfo_free(cms);
115 BIO *cms_CompressedData_init_bio(CMS_ContentInfo *cms)
119 if (OBJ_obj2nid(cms->contentType) != NID_id_smime_ct_compressedData)
125 cd = cms->d.compressedData;