Lines Matching refs:NULL

36                 p7->d.sign->contents->d.data = NULL;  in PKCS7_ctrl()
46 if (p7->d.sign == NULL || p7->d.sign->contents->d.ptr == NULL) in PKCS7_ctrl()
68 PKCS7 *ret = NULL; in PKCS7_content_new()
70 if ((ret = PKCS7_new()) == NULL) in PKCS7_content_new()
122 if ((p7->d.sign = PKCS7_SIGNED_new()) == NULL) in PKCS7_set_type()
126 p7->d.sign = NULL; in PKCS7_set_type()
132 if ((p7->d.data = ASN1_OCTET_STRING_new()) == NULL) in PKCS7_set_type()
138 == NULL) in PKCS7_set_type()
148 == NULL) in PKCS7_set_type()
157 == NULL) in PKCS7_set_type()
167 == NULL) in PKCS7_set_type()
224 if ((alg = X509_ALGOR_new()) == NULL in PKCS7_add_signer()
225 || (alg->parameter = ASN1_TYPE_new()) == NULL) { in PKCS7_add_signer()
239 if (alg->algorithm == NULL || !sk_X509_ALGOR_push(md_sk, alg)) { in PKCS7_add_signer()
290 if (*sk == NULL) in PKCS7_add_crl()
292 if (*sk == NULL) { in PKCS7_add_crl()
313 PKCS7_SIGNER_INFO_get0_algs(si, NULL, &alg1, &alg2); in pkcs7_ecdsa_or_dsa_sign_verify_setup()
314 if (alg1 == NULL || alg1->algorithm == NULL) in pkcs7_ecdsa_or_dsa_sign_verify_setup()
321 return X509_ALGOR_set0(alg2, OBJ_nid2obj(snid), V_ASN1_UNDEF, NULL); in pkcs7_ecdsa_or_dsa_sign_verify_setup()
329 X509_ALGOR *alg = NULL; in pkcs7_rsa_sign_verify_setup()
331 PKCS7_SIGNER_INFO_get0_algs(si, NULL, NULL, &alg); in pkcs7_rsa_sign_verify_setup()
332 if (alg != NULL) in pkcs7_rsa_sign_verify_setup()
334 V_ASN1_NULL, NULL); in pkcs7_rsa_sign_verify_setup()
367 V_ASN1_NULL, NULL)) in PKCS7_SIGNER_INFO_set()
375 if (pkey->ameth != NULL && pkey->ameth->pkey_ctrl != NULL) { in PKCS7_SIGNER_INFO_set()
391 PKCS7_SIGNER_INFO *si = NULL; in PKCS7_add_signature()
393 if (dgst == NULL) { in PKCS7_add_signature()
398 if (dgst == NULL) { in PKCS7_add_signature()
404 if ((si = PKCS7_SIGNER_INFO_new()) == NULL) in PKCS7_add_signature()
413 return NULL; in PKCS7_add_signature()
418 if (p7->d.ptr == NULL) in STACK_OF()
419 return NULL; in STACK_OF()
424 return NULL; in STACK_OF()
429 if (p7->d.ptr == NULL) in STACK_OF()
430 return NULL; in STACK_OF()
435 return NULL; in STACK_OF()
452 if (ctx == NULL || p7->d.ptr == NULL) in ossl_pkcs7_resolve_libctx()
471 if (si != NULL) in ossl_pkcs7_resolve_libctx()
478 return p7 != NULL ? &p7->ctx : NULL; in ossl_pkcs7_get0_ctx()
488 if (p7->ctx.propq != NULL) { in ossl_pkcs7_set1_propq()
490 p7->ctx.propq = NULL; in ossl_pkcs7_set1_propq()
492 if (propq != NULL) { in ossl_pkcs7_set1_propq()
494 if (p7->ctx.propq == NULL) in ossl_pkcs7_set1_propq()
512 return ctx != NULL ? ctx->libctx : NULL; in ossl_pkcs7_ctx_get0_libctx()
516 return ctx != NULL ? ctx->propq : NULL; in ossl_pkcs7_ctx_get0_propq()
522 if ((p7->d.digest->md->parameter = ASN1_TYPE_new()) == NULL) { in PKCS7_set_digest()
537 if (p7 == NULL || p7->d.ptr == NULL) in STACK_OF()
538 return NULL; in STACK_OF()
544 return NULL; in STACK_OF()
568 if ((ri = PKCS7_RECIP_INFO_new()) == NULL) in PKCS7_add_recipient()
578 return NULL; in PKCS7_add_recipient()
606 X509_ALGOR *alg = NULL; in pkcs7_rsa_encrypt_decrypt_setup()
610 if (alg != NULL) in pkcs7_rsa_encrypt_decrypt_setup()
612 V_ASN1_NULL, NULL); in pkcs7_rsa_encrypt_decrypt_setup()
620 EVP_PKEY *pkey = NULL; in PKCS7_RECIP_INFO_set()
633 if (pkey == NULL) in PKCS7_RECIP_INFO_set()
644 if (pkey->ameth == NULL || pkey->ameth->pkey_ctrl == NULL) { in PKCS7_RECIP_INFO_set()
678 return NULL; in PKCS7_cert_from_signer_info()
714 ASN1_OCTET_STRING *os = NULL; in PKCS7_stream()
723 if (os == NULL) { in PKCS7_stream()
731 if (os == NULL) { in PKCS7_stream()
742 os = NULL; in PKCS7_stream()
746 if (os == NULL) in PKCS7_stream()