Lines Matching refs:fail_info
361 int ossl_cmp_exchange_certConf(OSSL_CMP_CTX *ctx, int fail_info, in ossl_cmp_exchange_certConf() argument
369 if ((certConf = ossl_cmp_certConf_new(ctx, fail_info, txt)) == NULL) in ossl_cmp_exchange_certConf()
381 int ossl_cmp_exchange_error(OSSL_CMP_CTX *ctx, int status, int fail_info, in ossl_cmp_exchange_error() argument
389 if ((si = OSSL_CMP_STATUSINFO_new(status, fail_info, txt)) == NULL) in ossl_cmp_exchange_error()
486 int OSSL_CMP_certConf_cb(OSSL_CMP_CTX *ctx, X509 *cert, int fail_info, in OSSL_CMP_certConf_cb() argument
493 if (fail_info != 0) /* accept any error flagged by CMP core library */ in OSSL_CMP_certConf_cb()
494 return fail_info; in OSSL_CMP_certConf_cb()
504 fail_info = 1 << OSSL_CMP_PKIFAILUREINFO_incorrectData; in OSSL_CMP_certConf_cb()
519 return fail_info; in OSSL_CMP_certConf_cb()
534 int fail_info = 0; /* no failure */ in cert_response() local
599 fail_info = 1 << OSSL_CMP_PKIFAILUREINFO_incorrectData; in cert_response()
616 if ((fail_info = cb(ctx, ctx->newCert, fail_info, &txt)) != 0 in cert_response()
619 if (fail_info != 0) /* immediately log error before any certConf exchange */ in cert_response()
624 if (!ossl_cmp_exchange_certConf(ctx, fail_info, txt)) in cert_response()
629 if (fail_info != 0) { in cert_response()