PKCS7_set_type
if (!PKCS7_set_type(p7, NID_pkcs7_encrypted)) {
if (!PKCS7_set_type(ret, type))
if (!PKCS7_set_type(p7, NID_pkcs7_signed))
if (!PKCS7_set_type(p7, NID_pkcs7_enveloped))
if (!PKCS7_set_type(p7, NID_pkcs7_signed))
int PKCS7_set_type(PKCS7 *p7, int type);
if (!TEST_true(PKCS7_set_type(p7, NID_pkcs7_data)))