Lines Matching defs:trust
210 * so we get any trust settings.
288 /* The chain extensions are OK: check trust */
290 if (ctx->trust > 0) ok = check_trust(ctx);
494 ok = X509_check_trust(x, ctx->trust, 0);
1072 int X509_STORE_CTX_set_trust(X509_STORE_CTX *ctx, int trust)
1074 return X509_STORE_CTX_purpose_inherit(ctx, 0, 0, trust);
1077 /* This function is used to set the X509_STORE_CTX purpose and trust
1079 * own trust and purpose values which (if set) will be inherited by
1081 * purpose in mind which should then be used to set the trust value.
1083 * purpose and trust settings which the application can set: if they
1088 int purpose, int trust)
1105 if (ptmp->trust == X509_TRUST_DEFAULT)
1116 /* If trust not set then get from purpose default */
1117 if (!trust) trust = ptmp->trust;
1119 if (trust)
1121 idx = X509_TRUST_get_by_id(trust);
1131 if (trust && !ctx->trust) ctx->trust = trust;
1180 ctx->trust=store->trust;
1187 ctx->trust = 0;