Lines Matching refs:trust
205 * we get any trust settings.
282 /* The chain extensions are OK: check trust */
284 if (param->trust > 0)
537 ok = X509_check_trust(x, ctx->param->trust, 0);
1268 int X509_STORE_CTX_set_trust(X509_STORE_CTX *ctx, int trust)
1270 return X509_STORE_CTX_purpose_inherit(ctx, 0, 0, trust);
1274 * This function is used to set the X509_STORE_CTX purpose and trust values.
1275 * This is intended to be used when another structure has its own trust and
1278 * be used to set the trust value. An example of this is SSL use: an SSL
1279 * structure will have its own purpose and trust settings which the
1285 int purpose, int trust)
1301 if (ptmp->trust == X509_TRUST_DEFAULT) {
1310 /* If trust not set then get from purpose default */
1311 if (!trust)
1312 trust = ptmp->trust;
1314 if (trust) {
1315 idx = X509_TRUST_get_by_id(trust);
1325 if (trust && !ctx->param->trust)
1326 ctx->param->trust = trust;