Lines Matching refs:NULL

37     const char *msg_type = NULL;  in unprotected_exception()
39 if (!ossl_assert(ctx != NULL && rep != NULL)) in unprotected_exception()
55 if (si == NULL) in unprotected_exception()
73 if (crep == NULL) in unprotected_exception()
80 if (msg_type == NULL) in unprotected_exception()
93 if (!ossl_assert(ctx != NULL && si != NULL)) in save_statusInfo()
103 || (ctx->statusString == NULL)) in save_statusInfo()
128 return (crep != NULL in is_crep_with_waiting()
150 time_t now = time(NULL); in send_receive_check()
155 if (transfer_cb == NULL) in send_receive_check()
158 *rep = NULL; in send_receive_check()
180 if (ctx->server != NULL) in send_receive_check()
186 if (*rep == NULL) { in send_receive_check()
188 ctx->total_timeout != 0 && time(NULL) >= ctx->end_time ? in send_receive_check()
240 sizeof(buf)) != NULL) in send_receive_check()
242 if (emc->errorCode != NULL in send_receive_check()
246 if (emc->errorDetails != NULL) { in send_receive_check()
250 if (text != NULL && *text != '\0') in send_receive_check()
282 OSSL_CMP_MSG *preq = NULL; in poll_for_response()
283 OSSL_CMP_MSG *prep = NULL; in poll_for_response()
287 *rep = NULL; in poll_for_response()
289 if ((preq = ossl_cmp_pollReq_new(ctx, rid)) == NULL) in poll_for_response()
298 OSSL_CMP_POLLREP *pollRep = NULL; in poll_for_response()
308 if (pollRep == NULL) in poll_for_response()
324 if (pollRep->reason == NULL in poll_for_response()
332 if (text == NULL in poll_for_response()
344 int64_t time_left = (int64_t)(ctx->end_time - exp - time(NULL)); in poll_for_response()
356 preq = NULL; in poll_for_response()
358 prep = NULL; in poll_for_response()
362 if (checkAfter != NULL) in poll_for_response()
372 0 /* errorCode */, NULL); in poll_for_response()
377 if (!ossl_cmp_ctx_set1_first_senderNonce(ctx, NULL)) in poll_for_response()
382 if (prep == NULL) in poll_for_response()
390 (void)ossl_cmp_ctx_set1_first_senderNonce(ctx, NULL); in poll_for_response()
432 *rep = NULL; in send_receive_also_delayed()
435 rep, NULL /* checkAfter */) <= 0) { in send_receive_also_delayed()
455 OSSL_CMP_MSG *PKIconf = NULL; in ossl_cmp_exchange_certConf()
460 if (certConf == NULL) in ossl_cmp_exchange_certConf()
476 OSSL_CMP_MSG *error = NULL; in ossl_cmp_exchange_error()
477 OSSL_CMP_PKISI *si = NULL; in ossl_cmp_exchange_error()
478 OSSL_CMP_MSG *PKIconf = NULL; in ossl_cmp_exchange_error()
482 if ((si = OSSL_CMP_STATUSINFO_new(status, fail_info, txt)) == NULL) in ossl_cmp_exchange_error()
485 if ((error = ossl_cmp_error_new(ctx, si, errorCode, details, 0)) == NULL) in ossl_cmp_exchange_error()
507 X509 *crt = NULL; in get1_cert_status()
509 if (!ossl_assert(ctx != NULL && crep != NULL)) in get1_cert_status()
510 return NULL; in get1_cert_status()
550 if (crt == NULL) /* according to PKIStatus, we can expect a cert */ in get1_cert_status()
556 if (OSSL_CMP_CTX_snprint_PKIStatus(ctx, buf, sizeof(buf)) != NULL) in get1_cert_status()
558 return NULL; in get1_cert_status()
582 STACK_OF(X509) *chain = NULL; in OSSL_CMP_certConf_cb()
589 if (out_trusted == NULL) { in OSSL_CMP_certConf_cb()
597 if (csc == NULL) in OSSL_CMP_certConf_cb()
614 chain = NULL; in OSSL_CMP_certConf_cb()
622 if (out_trusted != NULL) { in OSSL_CMP_certConf_cb()
623 if (chain == NULL) { in OSSL_CMP_certConf_cb()
630 } else if (chain == NULL) { in OSSL_CMP_certConf_cb()
658 const char *txt = NULL; in cert_response()
659 OSSL_CMP_CERTREPMESSAGE *crepmsg = NULL; in cert_response()
660 OSSL_CMP_CERTRESPONSE *crep = NULL; in cert_response()
663 char *subj = NULL; in cert_response()
668 if (!ossl_assert(ctx != NULL)) in cert_response()
680 if (crep == NULL) in cert_response()
709 *resp = NULL; in cert_response()
732 if (cert == NULL) { in cert_response()
743 if (crepmsg != NULL && crepmsg->caPubs != NULL in cert_response()
747 subj = X509_NAME_oneline(X509_get_subject_name(cert), NULL, 0); in cert_response()
748 if (rkey != NULL in cert_response()
767 cb = ctx->certConf_cb != NULL ? ctx->certConf_cb : OSSL_CMP_certConf_cb; in cert_response()
769 && txt == NULL) in cert_response()
804 if (!ossl_cmp_ctx_set0_newCert(ctx, NULL)) in initial_certreq()
808 if ((req = ossl_cmp_certreq_new(ctx, req_type, crm)) == NULL) in initial_certreq()
820 OSSL_CMP_MSG *rep = NULL; in OSSL_CMP_try_certreq()
826 if (ctx == NULL) { in OSSL_CMP_try_certreq()
864 OSSL_CMP_MSG *rep = NULL; in OSSL_CMP_exec_certreq()
868 X509 *result = NULL; in OSSL_CMP_exec_certreq()
870 if (ctx == NULL) { in OSSL_CMP_exec_certreq()
872 return NULL; in OSSL_CMP_exec_certreq()
881 if (cert_response(ctx, 1 /* sleep */, rid, &rep, NULL, req_type, rep_type) in OSSL_CMP_exec_certreq()
893 OSSL_CMP_MSG *rr = NULL; in OSSL_CMP_exec_RR_ses()
894 OSSL_CMP_MSG *rp = NULL; in OSSL_CMP_exec_RR_ses()
897 OSSL_CMP_REVREPCONTENT *rrep = NULL; in OSSL_CMP_exec_RR_ses()
898 OSSL_CMP_PKISI *si = NULL; in OSSL_CMP_exec_RR_ses()
902 if (ctx == NULL) { in OSSL_CMP_exec_RR_ses()
907 if (ctx->oldCert == NULL && ctx->p10CSR == NULL in OSSL_CMP_exec_RR_ses()
908 && (ctx->serialNumber == NULL || ctx->issuer == NULL)) { in OSSL_CMP_exec_RR_ses()
914 if ((rr = ossl_cmp_rr_new(ctx)) == NULL) in OSSL_CMP_exec_RR_ses()
983 if ((cid = ossl_cmp_revrepcontent_get_CertId(rrep, rsid)) == NULL) { in OSSL_CMP_exec_RR_ses()
1006 if (rrep->crls != NULL && sk_X509_CRL_num(rrep->crls) != num_RevDetails) { in OSSL_CMP_exec_RR_ses()
1014 && OSSL_CMP_CTX_snprint_PKIStatus(ctx, buf, sizeof(buf)) != NULL) in OSSL_CMP_exec_RR_ses()
1026 OSSL_CMP_MSG *genp = NULL; in STACK_OF()
1027 STACK_OF(OSSL_CMP_ITAV) *itavs = NULL; in STACK_OF()
1029 if (ctx == NULL) { in STACK_OF()
1031 return NULL; in STACK_OF()
1035 if ((genm = ossl_cmp_genm_new(ctx)) == NULL) in STACK_OF()
1044 if (itavs == NULL) in STACK_OF()
1047 genp->body->value.genp = NULL; in STACK_OF()