Lines Matching defs:trust
213 * so we get any trust settings.
292 /* The chain extensions are OK: check trust */
294 if (param->trust > 0) ok = check_trust(ctx);
547 ok = X509_check_trust(x, ctx->param->trust, 0);
1263 int X509_STORE_CTX_set_trust(X509_STORE_CTX *ctx, int trust)
1265 return X509_STORE_CTX_purpose_inherit(ctx, 0, 0, trust);
1268 /* This function is used to set the X509_STORE_CTX purpose and trust
1270 * own trust and purpose values which (if set) will be inherited by
1272 * purpose in mind which should then be used to set the trust value.
1274 * purpose and trust settings which the application can set: if they
1279 int purpose, int trust)
1296 if (ptmp->trust == X509_TRUST_DEFAULT)
1307 /* If trust not set then get from purpose default */
1308 if (!trust) trust = ptmp->trust;
1310 if (trust)
1312 idx = X509_TRUST_get_by_id(trust);
1322 if (trust && !ctx->param->trust) ctx->param->trust = trust;