Lines Matching defs:err
147 * The error code is set to |err| if |err| is not X509_V_OK, else
154 static int verify_cb_cert(X509_STORE_CTX *ctx, X509 *x, int depth, int err)
161 if (err != X509_V_OK)
162 ctx->error = err;
166 #define CB_FAIL_IF(cond, ctx, cert, depth, err) \
167 if ((cond) && verify_cb_cert(ctx, cert, depth, err) == 0) \
177 static int verify_cb_crl(X509_STORE_CTX *ctx, int err)
179 ctx->error = err;
213 int err;
224 err = X509_chain_check_suiteb(&ctx->error_depth, NULL, ctx->chain,
226 CB_FAIL_IF(err != X509_V_OK, ctx, NULL, ctx->error_depth, err);
346 int err = ossl_x509_likely_issued(issuer, x);
348 if (err == X509_V_OK)
670 int err = X509_V_OK;
675 err = X509_V_ERR_PROXY_SUBJECT_NAME_VIOLATION;
685 err = X509_V_ERR_PROXY_SUBJECT_NAME_VIOLATION;
696 err = X509_V_ERR_PROXY_SUBJECT_NAME_VIOLATION;
716 err = X509_V_ERR_PROXY_SUBJECT_NAME_VIOLATION;
723 CB_FAIL_IF(err != X509_V_OK, ctx, x, i, err);
1340 goto err;
1344 err:
1913 goto err;
1915 goto err;
1923 err:
2142 void X509_STORE_CTX_set_error(X509_STORE_CTX *ctx, int err)
2144 ctx->error = err;
2419 goto err;
2426 goto err;
2429 goto err;
2448 err:
2904 int err = X509_chain_check_suiteb(NULL, cert, NULL, ctx->param->flags);
2906 CB_FAIL_IF(err != X509_V_OK, ctx, cert, 0, err);
3346 goto err;
3351 goto err;
3356 goto err;
3366 err: