Lines Matching refs:sk
254 STACK_OF(X509) **sk; in PKCS7_add_certificate()
259 sk = &(p7->d.sign->cert); in PKCS7_add_certificate()
262 sk = &(p7->d.signed_and_enveloped->cert); in PKCS7_add_certificate()
269 return ossl_x509_add_cert_new(sk, x509, X509_ADD_FLAG_UP_REF); in PKCS7_add_certificate()
275 STACK_OF(X509_CRL) **sk; in PKCS7_add_crl()
280 sk = &(p7->d.sign->crl); in PKCS7_add_crl()
283 sk = &(p7->d.signed_and_enveloped->crl); in PKCS7_add_crl()
290 if (*sk == NULL) in PKCS7_add_crl()
291 *sk = sk_X509_CRL_new_null(); in PKCS7_add_crl()
292 if (*sk == NULL) { in PKCS7_add_crl()
298 if (!sk_X509_CRL_push(*sk, crl)) { in PKCS7_add_crl()
584 STACK_OF(PKCS7_RECIP_INFO) *sk; in PKCS7_add_recipient_info()
589 sk = p7->d.signed_and_enveloped->recipientinfo; in PKCS7_add_recipient_info()
592 sk = p7->d.enveloped->recipientinfo; in PKCS7_add_recipient_info()
599 if (!sk_PKCS7_RECIP_INFO_push(sk, ri)) in PKCS7_add_recipient_info()