Lines Matching defs:param
188 if (ctx->param->auth_level <= 0)
225 ctx->param->flags);
245 if ((ctx->param->flags & X509_V_FLAG_POLICY_CHECK) != 0)
410 * ctx->param->trust are entirely independent of the purpose ordinals in
411 * ctx->param->purpose!
415 * related values of both param->trust and param->purpose. It is however
420 * checking is the same as ctx->param->purpose and ctx->param->trust is
423 if (depth >= ctx->num_untrusted && purpose == ctx->param->purpose)
424 tr_ok = X509_check_trust(x, ctx->param->trust, X509_TRUST_NO_SS_COMPAT);
438 if ((ctx->param->flags & X509_V_FLAG_X509_STRICT) == 0)
475 (ctx->param->flags & X509_V_FLAG_ALLOW_PROXY_CERTS) != 0;
476 purpose = ctx->param->purpose;
481 CB_FAIL_IF((ctx->param->flags & X509_V_FLAG_IGNORE_CRITICAL) == 0
489 CB_FAIL_IF((ctx->param->flags & X509_V_FLAG_X509_STRICT) != 0
500 || (ctx->param->flags & X509_V_FLAG_X509_STRICT) != 0)
515 if ((ctx->param->flags & X509_V_FLAG_X509_STRICT) != 0
741 && (ctx->param->hostflags
743 && ((ctx->param->hostflags
790 X509_VERIFY_PARAM *vpm = ctx->param;
837 trust = X509_check_trust(x, ctx->param->trust, 0);
850 if ((ctx->param->flags & X509_V_FLAG_PARTIAL_CHAIN) != 0)
856 && (ctx->param->flags & X509_V_FLAG_PARTIAL_CHAIN) != 0) {
873 trust = X509_check_trust(mx, ctx->param->trust, 0);
912 if ((ctx->param->flags & X509_V_FLAG_CRL_CHECK) == 0)
914 if ((ctx->param->flags & X509_V_FLAG_CRL_CHECK_ALL) != 0) {
1010 if ((ctx->param->flags & X509_V_FLAG_USE_CHECK_TIME) != 0)
1011 ptime = &ctx->param->check_time;
1012 else if ((ctx->param->flags & X509_V_FLAG_NO_CHECK_TIME) != 0)
1177 if ((ctx->param->flags & X509_V_FLAG_USE_DELTAS) == 0)
1213 if ((ctx->param->flags & X509_V_FLAG_EXTENDED_CRL_SUPPORT) == 0) {
1294 if ((ctx->param->flags & X509_V_FLAG_EXTENDED_CRL_SUPPORT) == 0)
1332 X509_STORE_CTX_set0_param(&crl_ctx, ctx->param);
1590 int rv = X509_CRL_check_suiteb(crl, ikey, ctx->param->flags);
1613 if ((ctx->param->flags & X509_V_FLAG_IGNORE_CRITICAL) == 0
1651 ctx->param->policies, ctx->param->flags);
1688 if ((ctx->param->flags & X509_V_FLAG_NOTIFY_POLICY) != 0) {
1720 if ((ctx->param->flags & X509_V_FLAG_USE_CHECK_TIME) != 0)
1721 ptime = &ctx->param->check_time;
1722 else if ((ctx->param->flags & X509_V_FLAG_NO_CHECK_TIME) != 0)
1761 && ((ctx->param->flags & X509_V_FLAG_PARTIAL_CHAIN) == 0)) {
1795 || ((ctx->param->flags & X509_V_FLAG_CHECK_SS_SIGNATURE) != 0
2277 if (ctx->param->purpose == 0 && purpose != 0)
2278 ctx->param->purpose = purpose;
2279 if (ctx->param->trust == 0 && trust != 0)
2280 ctx->param->trust = trust;
2416 ctx->param = X509_VERIFY_PARAM_new();
2417 if (ctx->param == NULL) {
2424 ctx->param->inh_flags |= X509_VP_FLAG_DEFAULT | X509_VP_FLAG_ONCE;
2425 else if (X509_VERIFY_PARAM_inherit(ctx->param, store->param) == 0)
2435 if (ctx->param->trust == X509_TRUST_DEFAULT) {
2436 int idx = X509_PURPOSE_get_by_id(ctx->param->purpose);
2440 ctx->param->trust = X509_PURPOSE_get_trust(xp);
2481 if (ctx->param != NULL) {
2483 X509_VERIFY_PARAM_free(ctx->param);
2484 ctx->param = NULL;
2496 X509_VERIFY_PARAM_set_depth(ctx->param, depth);
2501 X509_VERIFY_PARAM_set_flags(ctx->param, flags);
2507 X509_VERIFY_PARAM_set_time(ctx->param, t);
2628 const X509_VERIFY_PARAM *param;
2630 param = X509_VERIFY_PARAM_lookup(name);
2631 if (param == NULL) {
2635 return X509_VERIFY_PARAM_inherit(ctx->param, param);
2640 return ctx->param;
2643 void X509_STORE_CTX_set0_param(X509_STORE_CTX *ctx, X509_VERIFY_PARAM *param)
2645 X509_VERIFY_PARAM_free(ctx->param);
2646 ctx->param = param;
2904 int err = X509_chain_check_suiteb(NULL, cert, NULL, ctx->param->flags);
3021 if (search == 0 || (ctx->param->flags & X509_V_FLAG_TRUSTED_FIRST) != 0)
3023 else if (!(ctx->param->flags & X509_V_FLAG_NO_ALT_CHAINS))
3052 if (ctx->param->depth > INT_MAX / 2)
3053 ctx->param->depth = INT_MAX / 2;
3060 max_depth = ctx->param->depth + 1;
3385 int level = ctx->param->auth_level;
3442 int level = ctx->param->auth_level;