Lines Matching refs: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);
539 ok = X509_check_trust(x, ctx->param->trust, 0);
1255 int X509_STORE_CTX_set_trust(X509_STORE_CTX *ctx, int trust)
1257 return X509_STORE_CTX_purpose_inherit(ctx, 0, 0, trust);
1260 /* This function is used to set the X509_STORE_CTX purpose and trust
1262 * own trust and purpose values which (if set) will be inherited by
1264 * purpose in mind which should then be used to set the trust value.
1266 * purpose and trust settings which the application can set: if they
1271 int purpose, int trust)
1288 if (ptmp->trust == X509_TRUST_DEFAULT)
1299 /* If trust not set then get from purpose default */
1300 if (!trust) trust = ptmp->trust;
1302 if (trust)
1304 idx = X509_TRUST_get_by_id(trust);
1314 if (trust && !ctx->param->trust) ctx->param->trust = trust;